Build Information
Successful build of DBus, reference master (fac0da
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 18:21:49 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/dbus.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/dbus
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fac0da3 Working on Message Iterator
Cloned https://github.com/pureswift/dbus.git
Revision (git rev-parse @):
fac0da364a8c77607af5c6c6f18ec6d06d9dbf2a
SUCCESS checkout https://github.com/pureswift/dbus.git at master
Fetching https://github.com/PureSwift/CDBus.git
[1/61] Fetching cdbus
Fetched https://github.com/PureSwift/CDBus.git from cache (0.58s)
Creating working copy for https://github.com/PureSwift/CDBus.git
Working copy of https://github.com/PureSwift/CDBus.git resolved at master (ccffce2)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "dbus",
"name": "DBus",
"url": "https://github.com/pureswift/dbus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/dbus",
"dependencies": [
{
"identity": "cdbus",
"name": "CDBus",
"url": "https://github.com/PureSwift/CDBus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CDBus",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/pureswift/dbus.git
[1/882] Fetching dbus
Fetched https://github.com/pureswift/dbus.git from cache (0.74s)
Fetching https://github.com/PureSwift/CDBus.git from cache
Fetched https://github.com/PureSwift/CDBus.git from cache (0.42s)
Creating working copy for https://github.com/PureSwift/CDBus.git
Working copy of https://github.com/PureSwift/CDBus.git resolved at master (ccffce2)
Creating working copy for https://github.com/pureswift/dbus.git
Working copy of https://github.com/pureswift/dbus.git resolved at master (fac0da3)
warning: 'cdbus': ignoring declared target(s) 'CDBus' in the system package
warning: '.resolve-product-dependencies': dependency 'dbus' is not used by any target
Found 1 product dependencies
- CDBus
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pureswift/dbus.git
https://github.com/pureswift/dbus.git
{
"dependencies" : [
{
"identity" : "cdbus",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/CDBus.git"
}
],
"manifest_display_name" : "DBus",
"name" : "DBus",
"path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/20] Compiling DBus Timeout.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:467:5: warning: 'public' modifier is redundant for enum declared in a public extension
465 |
466 | /// DBus Signature Character
467 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
468 |
469 | // MARK: - Fixed Length Types
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:595:5: warning: 'public' modifier is redundant for struct declared in a public extension
593 | public extension DBusSignature {
594 |
595 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
596 |
597 | public let key: ValueType
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:639:5: warning: 'public' modifier is redundant for struct declared in a public extension
637 | public extension DBusSignature {
638 |
639 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
640 |
641 | @_versioned
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 | public extension DBusSignature.StructureType {
664 |
665 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 |
667 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
[5/21] Compiling DBus Signature.swift
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:467:5: warning: 'public' modifier is redundant for enum declared in a public extension
465 |
466 | /// DBus Signature Character
467 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
468 |
469 | // MARK: - Fixed Length Types
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:595:5: warning: 'public' modifier is redundant for struct declared in a public extension
593 | public extension DBusSignature {
594 |
595 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
596 |
597 | public let key: ValueType
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:639:5: warning: 'public' modifier is redundant for struct declared in a public extension
637 | public extension DBusSignature {
638 |
639 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
640 |
641 | @_versioned
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 | public extension DBusSignature.StructureType {
664 |
665 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 |
667 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
[6/21] Compiling DBus MessageArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for property declared in a public extension
36 |
37 | /// Argument value type.
38 | public var type: DBusSignature.ValueType {
| `- warning: 'public' modifier is redundant for property declared in a public extension
39 |
40 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:65:5: warning: 'public' modifier is redundant for struct declared in a public extension
63 |
64 | /// File Descriptor
65 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
66 |
67 | public var rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:79:5: warning: 'public' modifier is redundant for struct declared in a public extension
77 |
78 | /// Structure
79 | public struct Structure: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
80 |
81 | /// Structure elements.
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:151:5: warning: 'public' modifier is redundant for struct declared in a public extension
149 | public extension DBusMessageArgument {
150 |
151 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
152 |
153 | /// Array elements.
[7/21] Compiling DBus MessageIterator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for property declared in a public extension
36 |
37 | /// Argument value type.
38 | public var type: DBusSignature.ValueType {
| `- warning: 'public' modifier is redundant for property declared in a public extension
39 |
40 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:65:5: warning: 'public' modifier is redundant for struct declared in a public extension
63 |
64 | /// File Descriptor
65 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
66 |
67 | public var rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:79:5: warning: 'public' modifier is redundant for struct declared in a public extension
77 |
78 | /// Structure
79 | public struct Structure: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
80 |
81 | /// Structure elements.
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:151:5: warning: 'public' modifier is redundant for struct declared in a public extension
149 | public extension DBusMessageArgument {
150 |
151 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
152 |
153 | /// Array elements.
[8/21] Compiling DBus Type.swift
[9/21] Compiling DBus Member.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:368:5: warning: 'public' modifier is redundant for instance method declared in a public extension
366 | 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.
367 | */
368 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
369 |
370 | guard let copyPointer = dbus_message_copy(internalPointer)
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:394:5: warning: 'public' modifier is redundant for struct declared in a public extension
392 |
393 | /// DBus Message Iterator
394 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
395 |
396 | public typealias Element = DBusMessageArgument
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:419:5: warning: 'public' modifier is redundant for struct declared in a public extension
417 | public extension DBusMessage {
418 |
419 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
420 |
421 | public let replyTo: DBusMessage
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:441:5: warning: 'public' modifier is redundant for struct declared in a public extension
439 | public extension DBusMessage {
440 |
441 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
442 |
443 | public let destination: DBusBusName?
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:453:5: warning: 'public' modifier is redundant for struct declared in a public extension
451 |
452 | /// A signal is identified by its originating object path, interface, and the name of the signal.
453 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
454 |
455 | public let path: String
[10/21] Compiling DBus Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:368:5: warning: 'public' modifier is redundant for instance method declared in a public extension
366 | 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.
367 | */
368 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
369 |
370 | guard let copyPointer = dbus_message_copy(internalPointer)
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:394:5: warning: 'public' modifier is redundant for struct declared in a public extension
392 |
393 | /// DBus Message Iterator
394 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
395 |
396 | public typealias Element = DBusMessageArgument
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:419:5: warning: 'public' modifier is redundant for struct declared in a public extension
417 | public extension DBusMessage {
418 |
419 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
420 |
421 | public let replyTo: DBusMessage
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:441:5: warning: 'public' modifier is redundant for struct declared in a public extension
439 | public extension DBusMessage {
440 |
441 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
442 |
443 | public let destination: DBusBusName?
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:453:5: warning: 'public' modifier is redundant for struct declared in a public extension
451 |
452 | /// A signal is identified by its originating object path, interface, and the name of the signal.
453 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
454 |
455 | public let path: String
[11/21] Compiling DBus HandlerResult.swift
/Users/admin/builder/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
[12/21] Compiling DBus Interface.swift
/Users/admin/builder/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
[13/21] Compiling DBus BusType.swift
[14/21] Compiling DBus Connection.swift
[15/21] Compiling DBus DispatchStatus.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'failed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// No Memory
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'noMemory' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Missing file.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileNotFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | /// Invalid arguments
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Invalid signature
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidSignature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | }
193 |
/Users/admin/builder/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 |
[16/21] Compiling DBus Error.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'failed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// No Memory
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'noMemory' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Missing file.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileNotFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | /// Invalid arguments
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Invalid signature
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidSignature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | }
193 |
/Users/admin/builder/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 |
[17/21] Compiling DBus Boolean.swift
/Users/admin/builder/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 BusName.swift
/Users/admin/builder/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) {
[19/21] Compiling DBus MessageType.swift
/Users/admin/builder/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
[20/21] Compiling DBus ObjectPath.swift
/Users/admin/builder/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] Emitting module DBus
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'failed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// No Memory
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'noMemory' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// Missing file.
/Users/admin/builder/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.
/Users/admin/builder/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: add '@MainActor' to make static property 'fileNotFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | /// Invalid arguments
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Invalid signature
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'invalidSignature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | }
193 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:368:5: warning: 'public' modifier is redundant for instance method declared in a public extension
366 | 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.
367 | */
368 | public func copy() throws -> DBusMessage {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
369 |
370 | guard let copyPointer = dbus_message_copy(internalPointer)
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:394:5: warning: 'public' modifier is redundant for struct declared in a public extension
392 |
393 | /// DBus Message Iterator
394 | public struct Iterator: IteratorProtocol {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
395 |
396 | public typealias Element = DBusMessageArgument
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:419:5: warning: 'public' modifier is redundant for struct declared in a public extension
417 | public extension DBusMessage {
418 |
419 | public struct Error {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
420 |
421 | public let replyTo: DBusMessage
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:441:5: warning: 'public' modifier is redundant for struct declared in a public extension
439 | public extension DBusMessage {
440 |
441 | public struct MethodCall {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
442 |
443 | public let destination: DBusBusName?
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Message.swift:453:5: warning: 'public' modifier is redundant for struct declared in a public extension
451 |
452 | /// A signal is identified by its originating object path, interface, and the name of the signal.
453 | public struct Signal {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
454 |
455 | public let path: String
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:38:5: warning: 'public' modifier is redundant for property declared in a public extension
36 |
37 | /// Argument value type.
38 | public var type: DBusSignature.ValueType {
| `- warning: 'public' modifier is redundant for property declared in a public extension
39 |
40 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:65:5: warning: 'public' modifier is redundant for struct declared in a public extension
63 |
64 | /// File Descriptor
65 | public struct FileDescriptor: RawRepresentable, Equatable, Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
66 |
67 | public var rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:79:5: warning: 'public' modifier is redundant for struct declared in a public extension
77 |
78 | /// Structure
79 | public struct Structure: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
80 |
81 | /// Structure elements.
/Users/admin/builder/spi-builder-workspace/Sources/DBus/MessageArgument.swift:151:5: warning: 'public' modifier is redundant for struct declared in a public extension
149 | public extension DBusMessageArgument {
150 |
151 | public struct Array: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
152 |
153 | /// Array elements.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:467:5: warning: 'public' modifier is redundant for enum declared in a public extension
465 |
466 | /// DBus Signature Character
467 | public enum Character: String {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
468 |
469 | // MARK: - Fixed Length Types
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:595:5: warning: 'public' modifier is redundant for struct declared in a public extension
593 | public extension DBusSignature {
594 |
595 | public struct DictionaryType: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
596 |
597 | public let key: ValueType
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:639:5: warning: 'public' modifier is redundant for struct declared in a public extension
637 | public extension DBusSignature {
638 |
639 | public struct StructureType {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
640 |
641 | @_versioned
/Users/admin/builder/spi-builder-workspace/Sources/DBus/Signature.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 | public extension DBusSignature.StructureType {
664 |
665 | public var characters: [DBusSignature.Character] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 |
667 | return [.structStart] + elements.reduce([], { $0 + $1.characters }) + [.structEnd]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/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 |
Build complete! (4.97s)
warning: 'cdbus': ignoring declared target(s) 'CDBus' in the system package
warning: 'spi-builder-workspace': dependency 'cdbus' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for dbus-1.0
warning: couldn't find pc file for dbus-1.0
Build complete.
{
"dependencies" : [
{
"identity" : "cdbus",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/CDBus.git"
}
],
"manifest_display_name" : "DBus",
"name" : "DBus",
"path" : "/Users/admin/builder/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"
}
Done.