Build Information
Successful build of PorscheConnect with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/driven-app/porsche-connect.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/driven-app/porsche-connect
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7330331 Merge pull request #165 from driven-app/dg/dev
Cloned https://github.com/driven-app/porsche-connect.git
Revision (git rev-parse @):
733033195fb9e831cd473428431bd581814a0858
SUCCESS checkout https://github.com/driven-app/porsche-connect.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/driven-app/porsche-connect.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[6/11] Write porsche-entitlement.plist
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/67] Emitting module ArgumentParserToolInfo
[10/67] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/105] Compiling ArgumentParser AsyncParsableCommand.swift
[12/105] Compiling ArgumentParser CommandConfiguration.swift
[13/105] Compiling ArgumentParser EnumerableFlag.swift
[14/105] Compiling ArgumentParser ExpressibleByArgument.swift
[15/109] Compiling ArgumentParser Flag.swift
[16/109] Compiling ArgumentParser NameSpecification.swift
[17/109] Compiling ArgumentParser Option.swift
[18/109] Compiling ArgumentParser OptionGroup.swift
[19/109] Compiling ArgumentParser ArgumentHelp.swift
[20/109] Compiling ArgumentParser ArgumentVisibility.swift
[21/109] Compiling ArgumentParser CompletionKind.swift
[22/109] Compiling ArgumentParser Errors.swift
[23/109] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/109] Compiling ArgumentParser CompletionsGenerator.swift
[25/109] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/109] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/109] Compiling ArgumentParser Argument.swift
[28/109] Emitting module SwiftSoup
[29/114] Emitting module ArgumentParser
[30/114] Compiling ArgumentParser Platform.swift
[31/114] Compiling ArgumentParser SequenceExtensions.swift
[32/114] Compiling ArgumentParser StringExtensions.swift
[33/114] Compiling ArgumentParser Tree.swift
[34/114] Compiling ArgumentParser ArgumentDefinition.swift
[35/114] Compiling ArgumentParser ArgumentSet.swift
[36/114] Compiling ArgumentParser CommandParser.swift
[37/114] Compiling ArgumentParser InputKey.swift
[38/114] Compiling ArgumentParser ParsableArguments.swift
[39/114] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/114] Compiling ArgumentParser ParsableCommand.swift
[41/114] Compiling ArgumentParser ArgumentDecoder.swift
[42/114] Compiling ArgumentParser InputOrigin.swift
[43/114] Compiling ArgumentParser Name.swift
[44/114] Compiling ArgumentParser Parsed.swift
[45/114] Compiling ArgumentParser ParsedValues.swift
[46/114] Compiling ArgumentParser ParserError.swift
[47/114] Compiling ArgumentParser SplitArguments.swift
[48/114] Compiling ArgumentParser DumpHelpGenerator.swift
[49/114] Compiling ArgumentParser HelpCommand.swift
[50/114] Compiling ArgumentParser HelpGenerator.swift
[51/114] Compiling ArgumentParser MessageInfo.swift
[52/114] Compiling ArgumentParser UsageGenerator.swift
[53/114] Compiling ArgumentParser CollectionExtensions.swift
[77/114] Compiling SwiftSoup HtmlTreeBuilderState.swift
[78/114] Compiling SwiftSoup HttpStatusException.swift
[79/114] Compiling SwiftSoup Mutex.swift
[80/114] Compiling SwiftSoup Node.swift
[81/114] Compiling SwiftSoup NodeTraversor.swift
[82/114] Compiling SwiftSoup NodeVisitor.swift
[83/114] Compiling SwiftSoup StringUtil.swift
[84/114] Compiling SwiftSoup StructuralEvaluator.swift
[85/114] Compiling SwiftSoup SwiftSoup.swift
[86/114] Compiling SwiftSoup Tag.swift
[87/114] Compiling SwiftSoup TextNode.swift
[88/114] Compiling SwiftSoup Token.swift
[107/114] Compiling SwiftSoup UnicodeScalar.swift
[108/114] Compiling SwiftSoup Validate.swift
[109/114] Compiling SwiftSoup Whitelist.swift
[110/114] Compiling SwiftSoup XmlDeclaration.swift
[111/114] Compiling SwiftSoup XmlTreeBuilder.swift
[112/156] Compiling PorscheConnect String+Hex.swift
[113/156] Compiling PorscheConnect URL+Params.swift
[114/156] Compiling PorscheConnect HttpStatusCode.swift
[115/156] Compiling PorscheConnect AuthStoring.swift
[116/160] Compiling PorscheConnect Doors.swift
[117/160] Compiling PorscheConnect ElectricEngineConsumption.swift
[118/160] Compiling PorscheConnect FuelConsumption.swift
[119/160] Compiling PorscheConnect GenericValue.swift
[120/160] Compiling PorscheConnect Picture.swift
[121/160] Compiling PorscheConnect Tires.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[122/160] Compiling PorscheConnect Windows.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[123/160] Compiling PorscheConnect Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[124/160] Compiling PorscheConnect Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[125/160] Compiling PorscheConnect PorscheConnect+LockUnlockLastActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[126/160] Compiling PorscheConnect PorscheConnect+Unlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[127/160] Compiling PorscheConnect PorscheConnect+RemoteCommandStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[128/160] Compiling PorscheConnect RemoteCommandAccepted.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[129/160] Compiling PorscheConnect Distance.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[130/160] Emitting module PorscheConnect
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[131/160] Compiling PorscheConnect OAuthApplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
[132/160] Compiling PorscheConnect NetworkClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
[133/160] Compiling PorscheConnect NetworkRoutes.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
[134/160] Compiling PorscheConnect PorscheConnect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:33:14: warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
| |- warning: static property 'test' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'test' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
[135/160] Compiling PorscheConnect PorscheConnect+Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[136/160] Compiling PorscheConnect PorscheConnect+Capabilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[137/160] Compiling PorscheConnect PorscheConnect+Emobility.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[138/160] Compiling PorscheConnect PorscheConnect+Maintenance.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[139/160] Compiling PorscheConnect PorscheConnect+Pictures.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:17:5: warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| `- warning: let 'AuthLogger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
os.Logger:2:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
3 | public init(subsystem: String, category: String)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Constants.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
1 | import Foundation
2 | import os.log
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
3 |
4 | // MARK: - Static Constants
:
15 | // MARK: - Logging
16 |
17 | let AuthLogger = Logger(subsystem: kLibraryName, category: "Auth")
| |- note: annotate 'AuthLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[140/160] Compiling PorscheConnect Pressure.swift
[141/160] Compiling PorscheConnect RemainingRanges.swift
[142/160] Compiling PorscheConnect ServiceIntervals.swift
[143/160] Compiling PorscheConnect Speed.swift
[144/160] Compiling PorscheConnect PorscheConnect+Position.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[145/160] Compiling PorscheConnect PorscheConnect+Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[146/160] Compiling PorscheConnect PorscheConnect+Stored.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[147/160] Compiling PorscheConnect PorscheConnect+Summary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[148/160] Compiling PorscheConnect PorscheConnect+Trips.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[149/160] Compiling PorscheConnect DistanceFormatter.swift
[150/160] Compiling PorscheConnect GenericValueFormatter.swift
[151/160] Compiling PorscheConnect TimestampFormatter.swift
[152/160] Compiling PorscheConnect Color+Hex.swift
[153/160] Compiling PorscheConnect PorscheConnect+Vehicles.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[154/160] Compiling PorscheConnect PorscheConnect+ToggleDirectCharging.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[155/160] Compiling PorscheConnect PorscheConnect+ToggleDirectClimatisation.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[156/160] Compiling PorscheConnect PorscheConnect+Flash.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[157/160] Compiling PorscheConnect PorscheConnect+Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/PorscheConnect.swift:16:21: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension OAuthApplication {
16 | public static let api = OAuthApplication(
| |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'OAuthApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'api' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | clientId: "UYsK00My6bCqJdbQhTQ0PbWmcSdIAMig",
18 | redirectURL: URL(string: "https://my.porsche.com/")!
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Foundations/OAuth/OAuthApplication.swift:8:15: note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
6 | /// Once authenticated, an instance of this type will typically be associated with an OAuthToken instance that
7 | /// represents the user's authentication.
8 | public struct OAuthApplication: Hashable {
| `- note: consider making struct 'OAuthApplication' conform to the 'Sendable' protocol
9 | let clientId: String
10 | let redirectURL: URL
[158/176] Compiling CommandLineTool Extensions.swift
[159/177] Compiling CommandLineTool Command+Unlock.swift
[160/177] Compiling CommandLineTool Porsche.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:8:1: warning: extension declares a conformance of imported type 'SupportedLocale' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PorscheConnect' introduce this conformance in the future
6 |
7 | // Allow SupportedLocale to be used as a command line option.
8 | extension SupportedLocale: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'SupportedLocale' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PorscheConnect' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:15:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 | @main
14 | struct Porsche: AsyncParsableCommand {
15 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | abstract: NSLocalizedString(
17 | "A command-line tool to call and interact with Porsche Connect services.", comment: kBlankString),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 | import PorscheConnect
:
13 | @main
14 | struct Porsche: AsyncParsableCommand {
15 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | abstract: NSLocalizedString(
17 | "A command-line tool to call and interact with Porsche Connect services.", comment: kBlankString),
/Users/admin/builder/spi-builder-workspace/Sources/PorscheConnect/Environment.swift:32:21: warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// The environment affects the units and localization of API responses.
6 | public struct Environment: Equatable {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
7 | public let countryCode: String
8 | public let languageCode: String
:
30 | self.testEnvironment = testEnvironment
31 | }
32 | static public let germany = Environment(locale: Locale(identifier: "de_DE"))!
| |- warning: static property 'germany' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'germany' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let test = Environment(locale: Locale(identifier: "en_IE"), testEnvironment: true)!
34 | }
[161/177] Compiling CommandLineTool Command+ToggleDirectClimatisation.swift
[162/177] Compiling CommandLineTool Command+ShowCapabilities.swift
[163/177] Compiling CommandLineTool Command+ShowEmobility.swift
[164/177] Compiling CommandLineTool Command+ShowMaintenance.swift
[165/177] Compiling CommandLineTool Command+ShowPosition.swift
[166/177] Compiling CommandLineTool Command+ShowStatus.swift
[167/177] Compiling CommandLineTool Command+ShowSummary.swift
[168/177] Compiling CommandLineTool Command+Flash.swift
[169/177] Compiling CommandLineTool Command+HonkAndFlash.swift
[170/177] Compiling CommandLineTool Command+ListVehicles.swift
[171/177] Compiling CommandLineTool Command+Lock.swift
[172/177] Compiling CommandLineTool Command+ShowTrips.swift
[173/177] Compiling CommandLineTool Command+ToggleDirectCharging.swift
[174/177] Emitting module CommandLineTool
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:8:1: warning: extension declares a conformance of imported type 'SupportedLocale' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PorscheConnect' introduce this conformance in the future
6 |
7 | // Allow SupportedLocale to be used as a command line option.
8 | extension SupportedLocale: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'SupportedLocale' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'PorscheConnect' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:15:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 | @main
14 | struct Porsche: AsyncParsableCommand {
15 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | abstract: NSLocalizedString(
17 | "A command-line tool to call and interact with Porsche Connect services.", comment: kBlankString),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CommandLineTool/Porsche.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 | import PorscheConnect
:
13 | @main
14 | struct Porsche: AsyncParsableCommand {
15 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | abstract: NSLocalizedString(
17 | "A command-line tool to call and interact with Porsche Connect services.", comment: kBlankString),
[174/177] Write Objects.LinkFileList
[175/177] Linking porsche
[176/177] Applying porsche
Build complete! (54.83s)
Fetching https://github.com/envoy/Embassy.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/envoy/Ambassador.git
Fetching https://github.com/mochidev/XCTAsync.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/557] Fetching ambassador
[18/597] Fetching ambassador, xctasync
[58/2435] Fetching ambassador, xctasync, embassy
[319/5493] Fetching ambassador, xctasync, embassy, swiftsoup
[3079/17172] Fetching ambassador, xctasync, embassy, swiftsoup, swift-argument-parser
Fetched https://github.com/mochidev/XCTAsync.git from cache (1.21s)
Fetched https://github.com/envoy/Embassy.git from cache (1.21s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.21s)
[1375/12236] Fetching ambassador, swift-argument-parser
Fetched https://github.com/envoy/Ambassador.git from cache (1.67s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.67s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.6.1 (0.71s)
Computing version for https://github.com/mochidev/XCTAsync.git
Computed https://github.com/mochidev/XCTAsync.git at 1.0.1 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.71s)
Computing version for https://github.com/envoy/Ambassador.git
Computed https://github.com/envoy/Ambassador.git at 4.0.5 (2.62s)
Computing version for https://github.com/envoy/Embassy.git
Computed https://github.com/envoy/Embassy.git at 4.1.6 (2.30s)
Creating working copy for https://github.com/envoy/Ambassador.git
Working copy of https://github.com/envoy/Ambassador.git resolved at 4.0.5
Creating working copy for https://github.com/mochidev/XCTAsync.git
Working copy of https://github.com/mochidev/XCTAsync.git resolved at 1.0.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.6.1
Creating working copy for https://github.com/envoy/Embassy.git
Working copy of https://github.com/envoy/Embassy.git resolved at 4.1.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
Build complete.
{
"dependencies" : [
{
"identity" : "embassy",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.6",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/envoy/Embassy.git"
},
{
"identity" : "ambassador",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.5",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/envoy/Ambassador.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "xctasync",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mochidev/XCTAsync.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
}
],
"manifest_display_name" : "PorscheConnect",
"name" : "PorscheConnect",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "porsche",
"targets" : [
"CommandLineTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "PorscheConnect",
"targets" : [
"PorscheConnect"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PorscheConnectTests",
"module_type" : "SwiftTarget",
"name" : "PorscheConnectTests",
"path" : "Tests/PorscheConnectTests",
"product_dependencies" : [
"Embassy",
"Ambassador",
"XCTAsync"
],
"sources" : [
"Common/BaseMockNetworkTestCase.swift",
"Common/TestConstants.swift",
"Formatters/DistanceFormatterTests.swift",
"Formatters/GenericValueFormatterTests.swift",
"Formatters/TimestampFormatterTests.swift",
"Foundations/OAuth/OAuthApplicationTests.swift",
"Mock Server Backend/MockNetworkRoutes.swift",
"Mock Server Backend/MockResponseJson.swift",
"Mock Server Backend/MockServer.swift",
"Models/Models+AuthTests.swift",
"Models/Models+CapabilitiesTests.swift",
"Models/Models+DirectCharging.swift",
"Models/Models+EmobilityTests.swift",
"Models/Models+FlashAndHonk.swift",
"Models/Models+LockUnlockTests.swift",
"Models/Models+MaintenanceItemTests.swift",
"Models/Models+PinSecurityChallengeTests.swift",
"Models/Models+Position.swift",
"Models/Models+RemoteCommandAcceptedTests.swift",
"Models/Models+SummaryTests.swift",
"Models/Models+TripTests.swift",
"Models/Models+VehicleTests.swift",
"Networking/NetworkClientTests.swift",
"Networking/NetworkRoutesTests.swift",
"Public/PorscheConnect+AuthTests.swift",
"Public/PorscheConnect+CarControlTests.swift",
"Public/PorscheConnect+Maintenance.swift",
"Public/PorscheConnect+PortalTests.swift",
"Public/PorscheConnect+RemoteCommandStatusTests.swift",
"Public/PorscheConnect+TripsTests.swift",
"Public/PorscheConnectTests.swift"
],
"target_dependencies" : [
"PorscheConnect"
],
"type" : "test"
},
{
"c99name" : "PorscheConnect",
"module_type" : "SwiftTarget",
"name" : "PorscheConnect",
"path" : "Sources/PorscheConnect",
"product_dependencies" : [
"SwiftSoup"
],
"product_memberships" : [
"porsche",
"PorscheConnect"
],
"sources" : [
"APIs/PorscheConnect+Auth.swift",
"APIs/PorscheConnect+Capabilities.swift",
"APIs/PorscheConnect+Emobility.swift",
"APIs/PorscheConnect+Maintenance.swift",
"APIs/PorscheConnect+Pictures.swift",
"APIs/PorscheConnect+Position.swift",
"APIs/PorscheConnect+Status.swift",
"APIs/PorscheConnect+Stored.swift",
"APIs/PorscheConnect+Summary.swift",
"APIs/PorscheConnect+Trips.swift",
"APIs/PorscheConnect+Vehicles.swift",
"APIs/RemoteCommands/DirectCharging/PorscheConnect+ToggleDirectCharging.swift",
"APIs/RemoteCommands/DirectClimatisation/PorscheConnect+ToggleDirectClimatisation.swift",
"APIs/RemoteCommands/Flash/PorscheConnect+Flash.swift",
"APIs/RemoteCommands/LockUnlock/PorscheConnect+Lock.swift",
"APIs/RemoteCommands/LockUnlock/PorscheConnect+LockUnlockLastActions.swift",
"APIs/RemoteCommands/LockUnlock/PorscheConnect+Unlock.swift",
"APIs/RemoteCommands/PorscheConnect+RemoteCommandStatus.swift",
"APIs/RemoteCommands/RemoteCommandAccepted.swift",
"CommonResponseObjects/Distance.swift",
"CommonResponseObjects/Doors.swift",
"CommonResponseObjects/ElectricEngineConsumption.swift",
"CommonResponseObjects/FuelConsumption.swift",
"CommonResponseObjects/GenericValue.swift",
"CommonResponseObjects/Picture.swift",
"CommonResponseObjects/Pressure.swift",
"CommonResponseObjects/RemainingRanges.swift",
"CommonResponseObjects/ServiceIntervals.swift",
"CommonResponseObjects/Speed.swift",
"CommonResponseObjects/Tires.swift",
"CommonResponseObjects/Windows.swift",
"Constants.swift",
"Environment.swift",
"Formatters/DistanceFormatter.swift",
"Formatters/GenericValueFormatter.swift",
"Formatters/TimestampFormatter.swift",
"Foundations/Extensions/Color+Hex.swift",
"Foundations/Extensions/String+Hex.swift",
"Foundations/Extensions/URL+Params.swift",
"Foundations/HTTP/HttpStatusCode.swift",
"Foundations/OAuth/AuthStoring.swift",
"Foundations/OAuth/OAuthApplication.swift",
"NetworkClient.swift",
"NetworkRoutes.swift",
"PorscheConnect.swift"
],
"type" : "library"
},
{
"c99name" : "CommandLineTool",
"module_type" : "SwiftTarget",
"name" : "CommandLineTool",
"path" : "Sources/CommandLineTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"porsche"
],
"sources" : [
"Command+Flash.swift",
"Command+HonkAndFlash.swift",
"Command+ListVehicles.swift",
"Command+Lock.swift",
"Command+ShowCapabilities.swift",
"Command+ShowEmobility.swift",
"Command+ShowMaintenance.swift",
"Command+ShowPosition.swift",
"Command+ShowStatus.swift",
"Command+ShowSummary.swift",
"Command+ShowTrips.swift",
"Command+ToggleDirectCharging.swift",
"Command+ToggleDirectClimatisation.swift",
"Command+Unlock.swift",
"Extensions.swift",
"Porsche.swift"
],
"target_dependencies" : [
"PorscheConnect"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.