Build Information
Successful build of xsys, reference main (084e2f
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:57:33 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/xsys.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NozeIO/xsys
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 084e2ff More `@inlinable`
Cloned https://github.com/NozeIO/xsys.git
Revision (git rev-parse @):
084e2ff0667dd43f0a31868aa40463b287d2d9df
SUCCESS checkout https://github.com/NozeIO/xsys.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xsys",
"name": "xsys",
"url": "https://github.com/NozeIO/xsys.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xsys",
"dependencies": [
]
}
]
}
Fetching https://github.com/NozeIO/xsys.git
[1/60] Fetching xsys
Fetched https://github.com/NozeIO/xsys.git from cache (0.68s)
Creating working copy for https://github.com/NozeIO/xsys.git
Working copy of https://github.com/NozeIO/xsys.git resolved at main (084e2ff)
warning: '.resolve-product-dependencies': dependency 'xsys' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/NozeIO/xsys.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/16] Compiling xsys time.swift
[4/17] Compiling xsys timespec.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:92:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_time' introduce this conformance in the future
90 | }
91 |
92 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_time' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | @inlinable
94 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:104:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'sys_time' introduce this conformance in the future
102 | }
103 |
104 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'sys_time' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
105 | @inlinable
106 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:51:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
50 | clock_get_time(cclock, &mts);
51 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[5/17] Compiling xsys ntohs.swift
[6/17] Compiling xsys socket.swift
[7/17] Compiling xsys sockaddr_any.swift
[8/17] Compiling xsys ioctl.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:23: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // but not in Xcode yet?
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
| |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlHandle' 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
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:23: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
| |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnFcntl' 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
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:23: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
| |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnIoctl' 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
52 |
53 | @usableFromInline typealias fcntlViType =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[9/17] Compiling xsys misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:23: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // but not in Xcode yet?
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
| |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlHandle' 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
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:23: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
| |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnFcntl' 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
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:23: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
| |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnIoctl' 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
52 |
53 | @usableFromInline typealias fcntlViType =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[10/17] Compiling xsys dylib.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:61:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | import Darwin
60 |
61 | public let open : xsysOpenType = Darwin.open
| |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
62 | public let close = Darwin.close
63 | public let read = Darwin.read
[11/17] Compiling xsys fd.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:61:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | import Darwin
60 |
61 | public let open : xsysOpenType = Darwin.open
| |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
62 | public let close = Darwin.close
63 | public let read = Darwin.read
[12/17] Compiling xsys SocketAddress.swift
[13/17] Compiling xsys UUID.swift
[14/17] Compiling xsys timeval_any.swift
[15/17] Emitting module xsys
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
| `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
20 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:61:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | import Darwin
60 |
61 | public let open : xsysOpenType = Darwin.open
| |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
62 | public let close = Darwin.close
63 | public let read = Darwin.read
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:23: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // but not in Xcode yet?
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
| |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlHandle' 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
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:23: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
| |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnFcntl' 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
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:23: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
| |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnIoctl' 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
52 |
53 | @usableFromInline typealias fcntlViType =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:92:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_time' introduce this conformance in the future
90 | }
91 |
92 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_time' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | @inlinable
94 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:104:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'sys_time' introduce this conformance in the future
102 | }
103 |
104 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'sys_time' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
105 | @inlinable
106 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:51:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
50 | clock_get_time(cclock, &mts);
51 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[16/17] Compiling xsys Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
| `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
20 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
[17/17] Compiling xsys POSIXError.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
| `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
20 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'Error'; this will not behave correctly if the owners of '_errno' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
Build complete! (9.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "xsys",
"name" : "xsys",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "xsys",
"targets" : [
"xsys"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "xsysTests",
"module_type" : "SwiftTarget",
"name" : "xsysTests",
"path" : "Tests/xsysTests",
"sources" : [
"XCTestManifests.swift",
"xsysTests.swift"
],
"target_dependencies" : [
"xsys"
],
"type" : "test"
},
{
"c99name" : "xsys",
"module_type" : "SwiftTarget",
"name" : "xsys",
"path" : "Sources/xsys",
"product_memberships" : [
"xsys"
],
"sources" : [
"Module.swift",
"POSIXError.swift",
"SocketAddress.swift",
"UUID.swift",
"dylib.swift",
"fd.swift",
"ioctl.swift",
"misc.swift",
"ntohs.swift",
"sockaddr_any.swift",
"socket.swift",
"time.swift",
"timespec.swift",
"timeval_any.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.