Build Information
Successful build of DBus, reference 0.2.0 (ab4654
), with Swift 6.0 for Linux on 26 Nov 2024 17:48:43 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/dbus.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pureswift/dbus
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at ab46545 Improved `DBusInterface `
Cloned https://github.com/pureswift/dbus.git
Revision (git rev-parse @):
ab465455776ee13822c04a48ceb68b2b73f11bd2
SUCCESS checkout https://github.com/pureswift/dbus.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/pureswift/dbus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/PureSwift/CDBus.git
[1/61] Fetching cdbus
Fetched https://github.com/PureSwift/CDBus.git from cache (0.32s)
Creating working copy for https://github.com/PureSwift/CDBus.git
Working copy of https://github.com/PureSwift/CDBus.git resolved at master (ccffce2)
warning: 'cdbus': ignoring declared target(s) 'CDBus' in the system package
warning: 'spi-builder-workspace': dependency 'cdbus' is not used by any target
warning: couldn't find pc file for dbus-1.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module DBus
/host/spi-builder-workspace/Sources/DBus/Boolean.swift:27:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | }
26 |
27 | extension dbus_bool_t: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public init(booleanLiteral value: Bool) {
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Error.swift:16:16: warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
14 |
15 | /// Error name field
16 | public let name: DBusError.Name
| `- warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
17 |
18 | /// Error message field
:
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:33:5: warning: 'internal' modifier is redundant for class declared in an internal extension
31 |
32 | /// Internal class for working with the C DBus error API
33 | internal final class Reference {
| `- warning: 'internal' modifier is redundant for class declared in an internal extension
34 |
35 | // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/DBus/Error.swift:129:5: warning: 'public' modifier is redundant for struct declared in a public extension
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:146:5: warning: 'public' modifier is redundant for initializer declared in a public extension
144 | public extension DBusError.Name {
145 |
146 | public init(_ interface: DBusInterface) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
147 |
148 | // should be valid
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:23: warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| |- warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failed' 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
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:5: warning: 'public' modifier is redundant for static property declared in a public extension
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:5: warning: 'public' modifier is redundant for static property declared in a public extension
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:23: warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| |- warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:5: warning: 'public' modifier is redundant for static property declared in a public extension
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:23: warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| |- warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileNotFound' 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
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:5: warning: 'public' modifier is redundant for static property declared in a public extension
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:23: warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| |- warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidArguments' 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
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:5: warning: 'public' modifier is redundant for static property declared in a public extension
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:23: warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| |- warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidSignature' 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
192 | }
193 |
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:5: warning: 'public' modifier is redundant for static property declared in a public extension
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
192 | }
193 |
/host/spi-builder-workspace/Sources/DBus/Interface.swift:229:5: warning: 'public' modifier is redundant for struct declared in a public extension
227 |
228 | /// An element in the object path
229 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
230 |
231 | /// Don't copy buffer of individual elements, because these elements will always be created
/host/spi-builder-workspace/Sources/DBus/Message.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 | Creates a new message that is an exact replica of the message specified, except that its refcount is set to 1, its message serial is reset to 0, and if the original message was "locked" (in the outgoing message queue and thus not modifiable) the new message will not be locked.
366 | */
367 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 |
369 | guard let copyPointer = dbus_message_copy(internalPointer)
/host/spi-builder-workspace/Sources/DBus/Message.swift:392:5: warning: 'public' modifier is redundant for struct declared in a public extension
390 |
391 | /// DBus Message Iterator
392 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
393 |
394 | public typealias Element = DBusMessageArgument
/host/spi-builder-workspace/Sources/DBus/Message.swift:417:5: warning: 'public' modifier is redundant for struct declared in a public extension
415 | public extension DBusMessage {
416 |
417 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
418 |
419 | public let replyTo: DBusMessage
/host/spi-builder-workspace/Sources/DBus/Message.swift:427:5: warning: 'public' modifier is redundant for struct declared in a public extension
425 | public extension DBusMessage {
426 |
427 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
428 |
429 | public let destination: String?
/host/spi-builder-workspace/Sources/DBus/Message.swift:439:5: warning: 'public' modifier is redundant for struct declared in a public extension
437 |
438 | /// A signal is identified by its originating object path, interface, and the name of the signal.
439 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
440 |
441 | public let path: String
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for struct declared in a public extension
36 | public extension DBusMessageArgument {
37 |
38 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
39 |
40 | public var rawValue: CInt
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:51:5: warning: 'public' modifier is redundant for struct declared in a public extension
49 | public extension DBusMessageArgument {
50 |
51 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
52 |
53 | /// Array elements.
/host/spi-builder-workspace/Sources/DBus/ObjectPath.swift:277:5: warning: 'public' modifier is redundant for struct declared in a public extension
275 |
276 | /// An element in the object path
277 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
278 |
279 | /// Don't copy buffer of individual elements, because these elements will always be created
/host/spi-builder-workspace/Sources/DBus/Signature.swift:362:5: warning: 'public' modifier is redundant for enum declared in a public extension
360 | public extension DBusSignature {
361 |
362 | public indirect enum ValueType: Equatable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
363 |
364 | /// Type code marking an 8-bit unsigned integer.
/host/spi-builder-workspace/Sources/DBus/Signature.swift:435:5: warning: 'public' modifier is redundant for property declared in a public extension
433 | public extension DBusSignature.ValueType {
434 |
435 | public var isContainer: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
436 |
437 | switch self {
/host/spi-builder-workspace/Sources/DBus/Signature.swift:490:5: warning: 'public' modifier is redundant for enum declared in a public extension
488 |
489 | /// DBus Signature Character
490 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
491 |
492 | // MARK: - Fixed Length Types
/host/spi-builder-workspace/Sources/DBus/Signature.swift:618:5: warning: 'public' modifier is redundant for struct declared in a public extension
616 | public extension DBusSignature {
617 |
618 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
619 |
620 | public let key: ValueType
/host/spi-builder-workspace/Sources/DBus/Signature.swift:662:5: warning: 'public' modifier is redundant for struct declared in a public extension
660 | public extension DBusSignature {
661 |
662 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
663 |
664 | @_versioned
/host/spi-builder-workspace/Sources/DBus/Signature.swift:688:5: warning: 'public' modifier is redundant for property declared in a public extension
686 | public extension DBusSignature.StructureType {
687 |
688 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
689 |
690 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:5: warning: 'public' modifier is redundant for static property declared in a public extension
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:23: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:5: warning: 'public' modifier is redundant for static property declared in a public extension
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
26 | }
27 |
[4/21] Compiling DBus PendingCall.swift
/host/spi-builder-workspace/Sources/DBus/Signature.swift:362:5: warning: 'public' modifier is redundant for enum declared in a public extension
360 | public extension DBusSignature {
361 |
362 | public indirect enum ValueType: Equatable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
363 |
364 | /// Type code marking an 8-bit unsigned integer.
/host/spi-builder-workspace/Sources/DBus/Signature.swift:435:5: warning: 'public' modifier is redundant for property declared in a public extension
433 | public extension DBusSignature.ValueType {
434 |
435 | public var isContainer: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
436 |
437 | switch self {
/host/spi-builder-workspace/Sources/DBus/Signature.swift:490:5: warning: 'public' modifier is redundant for enum declared in a public extension
488 |
489 | /// DBus Signature Character
490 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
491 |
492 | // MARK: - Fixed Length Types
/host/spi-builder-workspace/Sources/DBus/Signature.swift:618:5: warning: 'public' modifier is redundant for struct declared in a public extension
616 | public extension DBusSignature {
617 |
618 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
619 |
620 | public let key: ValueType
/host/spi-builder-workspace/Sources/DBus/Signature.swift:662:5: warning: 'public' modifier is redundant for struct declared in a public extension
660 | public extension DBusSignature {
661 |
662 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
663 |
664 | @_versioned
/host/spi-builder-workspace/Sources/DBus/Signature.swift:688:5: warning: 'public' modifier is redundant for property declared in a public extension
686 | public extension DBusSignature.StructureType {
687 |
688 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
689 |
690 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
[5/21] Compiling DBus Signature.swift
/host/spi-builder-workspace/Sources/DBus/Signature.swift:362:5: warning: 'public' modifier is redundant for enum declared in a public extension
360 | public extension DBusSignature {
361 |
362 | public indirect enum ValueType: Equatable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
363 |
364 | /// Type code marking an 8-bit unsigned integer.
/host/spi-builder-workspace/Sources/DBus/Signature.swift:435:5: warning: 'public' modifier is redundant for property declared in a public extension
433 | public extension DBusSignature.ValueType {
434 |
435 | public var isContainer: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
436 |
437 | switch self {
/host/spi-builder-workspace/Sources/DBus/Signature.swift:490:5: warning: 'public' modifier is redundant for enum declared in a public extension
488 |
489 | /// DBus Signature Character
490 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
491 |
492 | // MARK: - Fixed Length Types
/host/spi-builder-workspace/Sources/DBus/Signature.swift:618:5: warning: 'public' modifier is redundant for struct declared in a public extension
616 | public extension DBusSignature {
617 |
618 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
619 |
620 | public let key: ValueType
/host/spi-builder-workspace/Sources/DBus/Signature.swift:662:5: warning: 'public' modifier is redundant for struct declared in a public extension
660 | public extension DBusSignature {
661 |
662 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
663 |
664 | @_versioned
/host/spi-builder-workspace/Sources/DBus/Signature.swift:688:5: warning: 'public' modifier is redundant for property declared in a public extension
686 | public extension DBusSignature.StructureType {
687 |
688 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
689 |
690 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
[6/21] Compiling DBus Timeout.swift
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:5: warning: 'public' modifier is redundant for static property declared in a public extension
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:23: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:5: warning: 'public' modifier is redundant for static property declared in a public extension
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
26 | }
27 |
[7/21] Compiling DBus Type.swift
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:5: warning: 'public' modifier is redundant for static property declared in a public extension
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:23: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' 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
26 | }
27 |
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:25:5: warning: 'public' modifier is redundant for static property declared in a public extension
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
| `- warning: 'public' modifier is redundant for static property declared in a public extension
26 | }
27 |
[8/21] Compiling DBus HandlerResult.swift
/host/spi-builder-workspace/Sources/DBus/Interface.swift:229:5: warning: 'public' modifier is redundant for struct declared in a public extension
227 |
228 | /// An element in the object path
229 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
230 |
231 | /// Don't copy buffer of individual elements, because these elements will always be created
[9/21] Compiling DBus Interface.swift
/host/spi-builder-workspace/Sources/DBus/Interface.swift:229:5: warning: 'public' modifier is redundant for struct declared in a public extension
227 |
228 | /// An element in the object path
229 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
230 |
231 | /// Don't copy buffer of individual elements, because these elements will always be created
[10/21] Compiling DBus Member.swift
/host/spi-builder-workspace/Sources/DBus/Message.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 | Creates a new message that is an exact replica of the message specified, except that its refcount is set to 1, its message serial is reset to 0, and if the original message was "locked" (in the outgoing message queue and thus not modifiable) the new message will not be locked.
366 | */
367 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 |
369 | guard let copyPointer = dbus_message_copy(internalPointer)
/host/spi-builder-workspace/Sources/DBus/Message.swift:392:5: warning: 'public' modifier is redundant for struct declared in a public extension
390 |
391 | /// DBus Message Iterator
392 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
393 |
394 | public typealias Element = DBusMessageArgument
/host/spi-builder-workspace/Sources/DBus/Message.swift:417:5: warning: 'public' modifier is redundant for struct declared in a public extension
415 | public extension DBusMessage {
416 |
417 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
418 |
419 | public let replyTo: DBusMessage
/host/spi-builder-workspace/Sources/DBus/Message.swift:427:5: warning: 'public' modifier is redundant for struct declared in a public extension
425 | public extension DBusMessage {
426 |
427 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
428 |
429 | public let destination: String?
/host/spi-builder-workspace/Sources/DBus/Message.swift:439:5: warning: 'public' modifier is redundant for struct declared in a public extension
437 |
438 | /// A signal is identified by its originating object path, interface, and the name of the signal.
439 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
440 |
441 | public let path: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
[11/21] Compiling DBus Message.swift
/host/spi-builder-workspace/Sources/DBus/Message.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 | Creates a new message that is an exact replica of the message specified, except that its refcount is set to 1, its message serial is reset to 0, and if the original message was "locked" (in the outgoing message queue and thus not modifiable) the new message will not be locked.
366 | */
367 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 |
369 | guard let copyPointer = dbus_message_copy(internalPointer)
/host/spi-builder-workspace/Sources/DBus/Message.swift:392:5: warning: 'public' modifier is redundant for struct declared in a public extension
390 |
391 | /// DBus Message Iterator
392 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
393 |
394 | public typealias Element = DBusMessageArgument
/host/spi-builder-workspace/Sources/DBus/Message.swift:417:5: warning: 'public' modifier is redundant for struct declared in a public extension
415 | public extension DBusMessage {
416 |
417 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
418 |
419 | public let replyTo: DBusMessage
/host/spi-builder-workspace/Sources/DBus/Message.swift:427:5: warning: 'public' modifier is redundant for struct declared in a public extension
425 | public extension DBusMessage {
426 |
427 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
428 |
429 | public let destination: String?
/host/spi-builder-workspace/Sources/DBus/Message.swift:439:5: warning: 'public' modifier is redundant for struct declared in a public extension
437 |
438 | /// A signal is identified by its originating object path, interface, and the name of the signal.
439 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
440 |
441 | public let path: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
[12/21] Compiling DBus Connection.swift
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:23: warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| |- warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failed' 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
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:16:16: warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
14 |
15 | /// Error name field
16 | public let name: DBusError.Name
| `- warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
17 |
18 | /// Error message field
:
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:33:5: warning: 'internal' modifier is redundant for class declared in an internal extension
31 |
32 | /// Internal class for working with the C DBus error API
33 | internal final class Reference {
| `- warning: 'internal' modifier is redundant for class declared in an internal extension
34 |
35 | // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/DBus/Error.swift:129:5: warning: 'public' modifier is redundant for struct declared in a public extension
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:146:5: warning: 'public' modifier is redundant for initializer declared in a public extension
144 | public extension DBusError.Name {
145 |
146 | public init(_ interface: DBusInterface) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
147 |
148 | // should be valid
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:5: warning: 'public' modifier is redundant for static property declared in a public extension
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:5: warning: 'public' modifier is redundant for static property declared in a public extension
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:23: warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| |- warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:5: warning: 'public' modifier is redundant for static property declared in a public extension
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:23: warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| |- warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileNotFound' 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
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:5: warning: 'public' modifier is redundant for static property declared in a public extension
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:23: warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| |- warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidArguments' 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
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:5: warning: 'public' modifier is redundant for static property declared in a public extension
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:23: warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| |- warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidSignature' 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
192 | }
193 |
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:5: warning: 'public' modifier is redundant for static property declared in a public extension
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
192 | }
193 |
[13/21] Compiling DBus DispatchStatus.swift
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:23: warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| |- warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failed' 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
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:16:16: warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
14 |
15 | /// Error name field
16 | public let name: DBusError.Name
| `- warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
17 |
18 | /// Error message field
:
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:33:5: warning: 'internal' modifier is redundant for class declared in an internal extension
31 |
32 | /// Internal class for working with the C DBus error API
33 | internal final class Reference {
| `- warning: 'internal' modifier is redundant for class declared in an internal extension
34 |
35 | // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/DBus/Error.swift:129:5: warning: 'public' modifier is redundant for struct declared in a public extension
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:146:5: warning: 'public' modifier is redundant for initializer declared in a public extension
144 | public extension DBusError.Name {
145 |
146 | public init(_ interface: DBusInterface) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
147 |
148 | // should be valid
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:5: warning: 'public' modifier is redundant for static property declared in a public extension
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:5: warning: 'public' modifier is redundant for static property declared in a public extension
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:23: warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| |- warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:5: warning: 'public' modifier is redundant for static property declared in a public extension
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:23: warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| |- warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileNotFound' 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
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:5: warning: 'public' modifier is redundant for static property declared in a public extension
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:23: warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| |- warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidArguments' 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
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:5: warning: 'public' modifier is redundant for static property declared in a public extension
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:23: warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| |- warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidSignature' 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
192 | }
193 |
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:5: warning: 'public' modifier is redundant for static property declared in a public extension
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
192 | }
193 |
[14/21] Compiling DBus Error.swift
/host/spi-builder-workspace/Sources/DBus/Timeout.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// DBus Timeout
11 | public struct Timeout: RawRepresentable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
12 |
13 | public var rawValue: Int32
:
21 | public extension Timeout {
22 |
23 | public static let `default`: Timeout = -1 //Timeout(rawValue: DBUS_TIMEOUT_USE_DEFAULT)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Timeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
24 |
25 | public static let infinite: Timeout = Timeout(rawValue: .max) //Timeout(rawValue: DBUS_TIMEOUT_INFINITE)
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:23: warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| |- warning: static property 'failed' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failed' 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
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:16:16: warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
14 |
15 | /// Error name field
16 | public let name: DBusError.Name
| `- warning: stored property 'name' of 'Sendable'-conforming struct 'DBusError' has non-sendable type 'DBusError.Name'; this is an error in the Swift 6 language mode
17 |
18 | /// Error message field
:
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:33:5: warning: 'internal' modifier is redundant for class declared in an internal extension
31 |
32 | /// Internal class for working with the C DBus error API
33 | internal final class Reference {
| `- warning: 'internal' modifier is redundant for class declared in an internal extension
34 |
35 | // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/DBus/Error.swift:129:5: warning: 'public' modifier is redundant for struct declared in a public extension
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
130 |
131 | public let rawValue: String
/host/spi-builder-workspace/Sources/DBus/Error.swift:146:5: warning: 'public' modifier is redundant for initializer declared in a public extension
144 | public extension DBusError.Name {
145 |
146 | public init(_ interface: DBusInterface) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
147 |
148 | // should be valid
/host/spi-builder-workspace/Sources/DBus/Error.swift:166:5: warning: 'public' modifier is redundant for static property declared in a public extension
164 | ///
165 | /// `org.freedesktop.DBus.Error.Failed`
166 | public static let failed = DBusError.Name(rawValue: DBUS_ERROR_FAILED)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
167 |
168 | /// No Memory
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:5: warning: 'public' modifier is redundant for static property declared in a public extension
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:23: warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| |- warning: static property 'fileExists' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:176:5: warning: 'public' modifier is redundant for static property declared in a public extension
174 | ///
175 | /// `org.freedesktop.DBus.Error.FileExists`
176 | public static let fileExists = DBusError.Name(rawValue: DBUS_ERROR_FILE_EXISTS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
177 |
178 | /// Missing file.
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:23: warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| |- warning: static property 'fileNotFound' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileNotFound' 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
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:181:5: warning: 'public' modifier is redundant for static property declared in a public extension
179 | ///
180 | /// `org.freedesktop.DBus.Error.FileNotFound`
181 | public static let fileNotFound = DBusError.Name(rawValue: DBUS_ERROR_FILE_NOT_FOUND)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
182 |
183 | /// Invalid arguments
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:23: warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| |- warning: static property 'invalidArguments' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidArguments' 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
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:186:5: warning: 'public' modifier is redundant for static property declared in a public extension
184 | ///
185 | /// `org.freedesktop.DBus.Error.InvalidArgs`
186 | public static let invalidArguments = DBusError.Name(rawValue: DBUS_ERROR_INVALID_ARGS)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
187 |
188 | /// Invalid signature
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:23: warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| |- warning: static property 'invalidSignature' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidSignature' 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
192 | }
193 |
/host/spi-builder-workspace/Sources/DBus/Error.swift:191:5: warning: 'public' modifier is redundant for static property declared in a public extension
189 | ///
190 | /// `org.freedesktop.DBus.Error.InvalidSignature`
191 | public static let invalidSignature = DBusError.Name(rawValue: DBUS_ERROR_INVALID_SIGNATURE)!
| `- warning: 'public' modifier is redundant for static property declared in a public extension
192 | }
193 |
[15/21] Compiling DBus Boolean.swift
/host/spi-builder-workspace/Sources/DBus/Boolean.swift:27:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | }
26 |
27 | extension dbus_bool_t: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public init(booleanLiteral value: Bool) {
[16/21] Compiling DBus BusName.swift
/host/spi-builder-workspace/Sources/DBus/Boolean.swift:27:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | }
26 |
27 | extension dbus_bool_t: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public init(booleanLiteral value: Bool) {
[17/21] Compiling DBus BusType.swift
/host/spi-builder-workspace/Sources/DBus/Boolean.swift:27:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | }
26 |
27 | extension dbus_bool_t: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 |
29 | public init(booleanLiteral value: Bool) {
[18/21] Compiling DBus MessageArgument.swift
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for struct declared in a public extension
36 | public extension DBusMessageArgument {
37 |
38 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
39 |
40 | public var rawValue: CInt
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:51:5: warning: 'public' modifier is redundant for struct declared in a public extension
49 | public extension DBusMessageArgument {
50 |
51 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
52 |
53 | /// Array elements.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
[19/21] Compiling DBus MessageIterator.swift
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for struct declared in a public extension
36 | public extension DBusMessageArgument {
37 |
38 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
39 |
40 | public var rawValue: CInt
/host/spi-builder-workspace/Sources/DBus/MessageArgument.swift:51:5: warning: 'public' modifier is redundant for struct declared in a public extension
49 | public extension DBusMessageArgument {
50 |
51 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
52 |
53 | /// Array elements.
/host/spi-builder-workspace/Sources/DBus/Error.swift:171:23: warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
127 | public extension DBusError {
128 |
129 | public struct Name: Equatable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
130 |
131 | public let rawValue: String
:
169 | ///
170 | /// `org.freedesktop.DBus.Error.NoMemory`
171 | public static let noMemory = DBusError.Name(rawValue: DBUS_ERROR_NO_MEMORY)!
| |- warning: static property 'noMemory' is not concurrency-safe because non-'Sendable' type 'DBusError.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMemory' 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
172 |
173 | /// Existing file and the operation you're using does not silently overwrite.
[20/21] Compiling DBus MessageType.swift
/host/spi-builder-workspace/Sources/DBus/ObjectPath.swift:277:5: warning: 'public' modifier is redundant for struct declared in a public extension
275 |
276 | /// An element in the object path
277 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
278 |
279 | /// Don't copy buffer of individual elements, because these elements will always be created
[21/21] Compiling DBus ObjectPath.swift
/host/spi-builder-workspace/Sources/DBus/ObjectPath.swift:277:5: warning: 'public' modifier is redundant for struct declared in a public extension
275 |
276 | /// An element in the object path
277 | public struct Element {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
278 |
279 | /// Don't copy buffer of individual elements, because these elements will always be created
Build complete! (16.46s)
Build complete.
{
"dependencies" : [
{
"identity" : "cdbus",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/CDBus.git"
}
],
"manifest_display_name" : "DBus",
"name" : "DBus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DBus",
"targets" : [
"DBus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "DBusTests",
"module_type" : "SwiftTarget",
"name" : "DBusTests",
"path" : "Tests/DBusTests",
"sources" : [
"InterfaceTests.swift",
"MessageTests.swift",
"ObjectPathTests.swift",
"SignatureTests.swift"
],
"target_dependencies" : [
"DBus"
],
"type" : "test"
},
{
"c99name" : "DBus",
"module_type" : "SwiftTarget",
"name" : "DBus",
"path" : "Sources/DBus",
"product_memberships" : [
"DBus"
],
"sources" : [
"Boolean.swift",
"BusName.swift",
"BusType.swift",
"Connection.swift",
"DispatchStatus.swift",
"Error.swift",
"HandlerResult.swift",
"Interface.swift",
"Member.swift",
"Message.swift",
"MessageArgument.swift",
"MessageIterator.swift",
"MessageType.swift",
"ObjectPath.swift",
"PendingCall.swift",
"Signature.swift",
"Timeout.swift",
"Type.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.