This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of xsys with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 56

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/NozeIO/xsys.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/16] 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 'Darwin' 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 'Darwin' 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 'Darwin' 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 'Darwin' 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
[4/17] Compiling xsys time.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 26 |   public typealias time_t    = Darwin.time_t
 27 |
 28 |   public let time          = Darwin.time
    |              |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'time' 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
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
 27 |
 28 |   public let time          = Darwin.time
 29 |   public let gmtime_r      = Darwin.gmtime_r
    |              |- warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'gmtime_r' 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
 30 |   public let localtime_r   = Darwin.localtime_r
 31 |   public let strftime      = Darwin.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
 28 |   public let time          = Darwin.time
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
    |              |- warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'localtime_r' 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
 31 |   public let strftime      = Darwin.strftime
 32 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
 31 |   public let strftime      = Darwin.strftime
    |              |- warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strftime' 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
 32 | #endif
 33 |
[5/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |   public let dlsym  = Darwin.dlsym
21 |   public let dlopen = Darwin.dlopen
   |              |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlopen' 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
22 | #endif
23 |
/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 |   import Darwin
19 |
20 |   public let dlsym  = Darwin.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlsym' 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
21 |   public let dlopen = Darwin.dlopen
22 | #endif
/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:79:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
    |              |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'memcpy' 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
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:80:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
    |              |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strlen' 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
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strchr' 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
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
    |              |- warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'arc4random_uniform' 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
 83 |
 84 |   public let kill          = Darwin.kill
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
 84 |   public let kill          = Darwin.kill
    |              |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'kill' 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
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:85:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 83 |
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'chdir' 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
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:86:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'rmdir' 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
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:87:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'unlink' 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
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:88:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'mkdir' 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
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:89:14: warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
    |              |- warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getcwd' 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
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:90:14: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
    |              |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getegid' 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
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:91:14: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
    |              |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'geteuid' 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
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:92:14: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
    |              |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getgid' 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
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:93:14: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
    |              |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getuid' 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
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:14: warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
    |              |- warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawn' 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
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:96:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
    |              |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawnp' 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
 97 |   public let waitpid       = Darwin.waitpid
 98 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:97:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
    |              |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'waitpid' 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
 98 |
 99 |   public let getenv        = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:99:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 97 |   public let waitpid       = Darwin.waitpid
 98 |
 99 |   public let getenv        = Darwin.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getenv' 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
100 |
101 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:119:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
117 |   // rlimit
118 |   public typealias rlimit  = Darwin.rlimit
119 |   public let getrlimit     = Darwin.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getrlimit' 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
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:122:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
122 |   public let sysconf       = Darwin.sysconf
    |              |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sysconf' 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
123 | #endif
124 |
[6/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |   public let dlsym  = Darwin.dlsym
21 |   public let dlopen = Darwin.dlopen
   |              |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlopen' 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
22 | #endif
23 |
/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 |   import Darwin
19 |
20 |   public let dlsym  = Darwin.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlsym' 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
21 |   public let dlopen = Darwin.dlopen
22 | #endif
/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:79:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
    |              |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'memcpy' 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
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:80:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
    |              |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strlen' 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
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strchr' 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
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
    |              |- warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'arc4random_uniform' 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
 83 |
 84 |   public let kill          = Darwin.kill
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
 84 |   public let kill          = Darwin.kill
    |              |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'kill' 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
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:85:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 83 |
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'chdir' 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
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:86:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'rmdir' 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
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:87:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'unlink' 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
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:88:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'mkdir' 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
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:89:14: warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
    |              |- warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getcwd' 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
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:90:14: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
    |              |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getegid' 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
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:91:14: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
    |              |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'geteuid' 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
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:92:14: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
    |              |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getgid' 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
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:93:14: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
    |              |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getuid' 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
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:14: warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
    |              |- warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawn' 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
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:96:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
    |              |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawnp' 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
 97 |   public let waitpid       = Darwin.waitpid
 98 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:97:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
    |              |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'waitpid' 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
 98 |
 99 |   public let getenv        = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:99:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 97 |   public let waitpid       = Darwin.waitpid
 98 |
 99 |   public let getenv        = Darwin.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getenv' 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
100 |
101 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:119:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
117 |   // rlimit
118 |   public typealias rlimit  = Darwin.rlimit
119 |   public let getrlimit     = Darwin.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getrlimit' 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
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:122:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
122 |   public let sysconf       = Darwin.sysconf
    |              |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sysconf' 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
123 | #endif
124 |
[7/17] Compiling xsys socket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:59:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |   import Darwin
 58 |
 59 |   public let socket       = Darwin.socket
    |              |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'socket' 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
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:60:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |   public let socket       = Darwin.socket
 60 |   public let poll         = Darwin.poll
    |              |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'poll' 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
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:61:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 59 |   public let socket       = Darwin.socket
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
    |              |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'bind' 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 connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:62:14: warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
    |              |- warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'connect' 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
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:63:14: warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
    |              |- warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'listen' 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
 64 |   public let accept       = Darwin.accept
 65 |   public let shutdown     = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:64:14: warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 62 |   public let connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
    |              |- warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'accept' 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
 65 |   public let shutdown     = Darwin.shutdown
 66 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:65:14: warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
 65 |   public let shutdown     = Darwin.shutdown
    |              |- warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shutdown' 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
 66 |
 67 |   public let getsockname  = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:67:14: warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 65 |   public let shutdown     = Darwin.shutdown
 66 |
 67 |   public let getsockname  = Darwin.getsockname
    |              |- warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getsockname' 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
 68 |   public let getpeername  = Darwin.getpeername
 69 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 66 |
 67 |   public let getsockname  = Darwin.getsockname
 68 |   public let getpeername  = Darwin.getpeername
    |              |- warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getpeername' 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
 69 |
 70 |   public let setsockopt   = Darwin.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:70:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 68 |   public let getpeername  = Darwin.getpeername
 69 |
 70 |   public let setsockopt   = Darwin.setsockopt
    |              |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'setsockopt' 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
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:72:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 70 |   public let setsockopt   = Darwin.setsockopt
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
    |              |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getaddrinfo' 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
 73 |   public let freeaddrinfo = Darwin.freeaddrinfo
 74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:73:14: warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
 73 |   public let freeaddrinfo = Darwin.freeaddrinfo
    |              |- warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'freeaddrinfo' 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
 74 |
 75 |   public let SOCK_STREAM  = Darwin.SOCK_STREAM
[8/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/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 |   import Darwin
19 |
20 |   public let dlsym  = Darwin.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlsym' 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
21 |   public let dlopen = Darwin.dlopen
22 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |   public let dlsym  = Darwin.dlsym
21 |   public let dlopen = Darwin.dlopen
   |              |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlopen' 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
22 | #endif
23 |
<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
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
    |              |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
    |              |- warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:64:14: warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
    |              |- warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
    |              |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'recvfrom' 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
 66 |   public let sendto    = Darwin.sendto
 67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
    |              |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sendto' 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
 67 |
 68 |   public let access    = Darwin.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:68:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 66 |   public let sendto    = Darwin.sendto
 67 |
 68 |   public let access    = Darwin.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'access' 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
 69 |   public let F_OK      = Darwin.F_OK
 70 |   public let R_OK      = Darwin.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:91:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     return Darwin.lstat(p, r)
 90 |   }
 91 |   public let lstat     = Darwin.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'lstat' 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
 92 |
 93 |   public let opendir   = Darwin.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:93:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let lstat     = Darwin.lstat
 92 |
 93 |   public let opendir   = Darwin.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'opendir' 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
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:94:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'closedir' 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
 95 |   public let readdir   = Darwin.readdir
 96 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:95:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'readdir' 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
 96 |
 97 |   public typealias dirent      = Darwin.dirent
[9/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/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 |   import Darwin
19 |
20 |   public let dlsym  = Darwin.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlsym' 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
21 |   public let dlopen = Darwin.dlopen
22 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |   public let dlsym  = Darwin.dlsym
21 |   public let dlopen = Darwin.dlopen
   |              |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlopen' 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
22 | #endif
23 |
<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
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
    |              |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
    |              |- warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:64:14: warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
    |              |- warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
    |              |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'recvfrom' 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
 66 |   public let sendto    = Darwin.sendto
 67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
    |              |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sendto' 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
 67 |
 68 |   public let access    = Darwin.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:68:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 66 |   public let sendto    = Darwin.sendto
 67 |
 68 |   public let access    = Darwin.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'access' 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
 69 |   public let F_OK      = Darwin.F_OK
 70 |   public let R_OK      = Darwin.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:91:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     return Darwin.lstat(p, r)
 90 |   }
 91 |   public let lstat     = Darwin.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'lstat' 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
 92 |
 93 |   public let opendir   = Darwin.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:93:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let lstat     = Darwin.lstat
 92 |
 93 |   public let opendir   = Darwin.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'opendir' 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
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:94:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'closedir' 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
 95 |   public let readdir   = Darwin.readdir
 96 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:95:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'readdir' 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
 96 |
 97 |   public typealias dirent      = Darwin.dirent
[10/17] Compiling xsys ntohs.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:16:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
14 |   return (value << 8) + (value >> 8);
15 | }
16 | public let htons = ntohs // same thing, swap bytes :-)
   |            |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'htons' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[11/17] Compiling xsys SocketAddress.swift
[12/17] Compiling xsys UUID.swift
[13/17] Compiling xsys sockaddr_any.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:16:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
14 |   return (value << 8) + (value >> 8);
15 | }
16 | public let htons = ntohs // same thing, swap bytes :-)
   |            |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'htons' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' 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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
    |   `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
181 |   import Foundation // this is for POSIXError : Error
182 |
183 |   extension POSIXErrorCode : Error {}
    |   `- warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
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/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 |   import Darwin
19 |
20 |   public let dlsym  = Darwin.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlsym' 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
21 |   public let dlopen = Darwin.dlopen
22 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |   public let dlsym  = Darwin.dlsym
21 |   public let dlopen = Darwin.dlopen
   |              |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'dlopen' 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
22 | #endif
23 |
<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
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
    |              |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   public let open      : xsysOpenType = Darwin.open
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
    |              |- warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:64:14: warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |   public let close     = Darwin.close
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
    |              |- warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 63 |   public let read      = Darwin.read
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
    |              |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'recvfrom' 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
 66 |   public let sendto    = Darwin.sendto
 67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |   public let write     = Darwin.write
 65 |   public let recvfrom  = Darwin.recvfrom
 66 |   public let sendto    = Darwin.sendto
    |              |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sendto' 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
 67 |
 68 |   public let access    = Darwin.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:68:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 66 |   public let sendto    = Darwin.sendto
 67 |
 68 |   public let access    = Darwin.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'access' 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
 69 |   public let F_OK      = Darwin.F_OK
 70 |   public let R_OK      = Darwin.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:91:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     return Darwin.lstat(p, r)
 90 |   }
 91 |   public let lstat     = Darwin.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'lstat' 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
 92 |
 93 |   public let opendir   = Darwin.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:93:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let lstat     = Darwin.lstat
 92 |
 93 |   public let opendir   = Darwin.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'opendir' 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
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:94:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'closedir' 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
 95 |   public let readdir   = Darwin.readdir
 96 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:95:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let opendir   = Darwin.opendir
 94 |   public let closedir  = Darwin.closedir
 95 |   public let readdir   = Darwin.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'readdir' 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
 96 |
 97 |   public typealias dirent      = Darwin.dirent
/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)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:79:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
    |              |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'memcpy' 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
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:80:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 78 |   public typealias size_t  = Darwin.size_t
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
    |              |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strlen' 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
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 79 |   public let memcpy        = Darwin.memcpy
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strchr' 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
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |   public let strlen        = Darwin.strlen
 81 |   public let strchr        = Darwin.strchr
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
    |              |- warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'arc4random_uniform' 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
 83 |
 84 |   public let kill          = Darwin.kill
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 82 |   public let arc4random_uniform = Darwin.arc4random_uniform
 83 |
 84 |   public let kill          = Darwin.kill
    |              |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'kill' 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
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:85:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 83 |
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'chdir' 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
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:86:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 84 |   public let kill          = Darwin.kill
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'rmdir' 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
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:87:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 85 |   public let chdir         = Darwin.chdir
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'unlink' 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
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:88:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 86 |   public let rmdir         = Darwin.rmdir
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'mkdir' 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
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:89:14: warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 87 |   public let unlink        = Darwin.unlink
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
    |              |- warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getcwd' 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
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:90:14: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 88 |   public let mkdir         = Darwin.mkdir
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
    |              |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getegid' 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
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:91:14: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 89 |   public let getcwd        = Darwin.getcwd
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
    |              |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'geteuid' 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
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:92:14: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 90 |   public let getegid       = Darwin.getegid
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
    |              |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getgid' 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
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:93:14: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
 91 |   public let geteuid       = Darwin.geteuid
 92 |   public let getgid        = Darwin.getgid
 93 |   public let getuid        = Darwin.getuid
    |              |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getuid' 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
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:14: warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 93 |   public let getuid        = Darwin.getuid
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
    |              |- warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawn' 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
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:96:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 94 |   public typealias pid_t   = Darwin.pid_t
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
    |              |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'posix_spawnp' 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
 97 |   public let waitpid       = Darwin.waitpid
 98 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:97:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 95 |   public let posix_spawn   = Darwin.posix_spawn
 96 |   public let posix_spawnp  = Darwin.posix_spawnp
 97 |   public let waitpid       = Darwin.waitpid
    |              |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'waitpid' 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
 98 |
 99 |   public let getenv        = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:99:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 97 |   public let waitpid       = Darwin.waitpid
 98 |
 99 |   public let getenv        = Darwin.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getenv' 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
100 |
101 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:119:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
117 |   // rlimit
118 |   public typealias rlimit  = Darwin.rlimit
119 |   public let getrlimit     = Darwin.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getrlimit' 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
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:122:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
120 |   public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 |   public let _SC_OPEN_MAX  = Darwin._SC_OPEN_MAX
122 |   public let sysconf       = Darwin.sysconf
    |              |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'sysconf' 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
123 | #endif
124 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:16:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
14 |   return (value << 8) + (value >> 8);
15 | }
16 | public let htons = ntohs // same thing, swap bytes :-)
   |            |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'htons' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:59:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |   import Darwin
 58 |
 59 |   public let socket       = Darwin.socket
    |              |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'socket' 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
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:60:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |   public let socket       = Darwin.socket
 60 |   public let poll         = Darwin.poll
    |              |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'poll' 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
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:61:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 59 |   public let socket       = Darwin.socket
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
    |              |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'bind' 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 connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:62:14: warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 60 |   public let poll         = Darwin.poll
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
    |              |- warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'connect' 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
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:63:14: warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   public let bind         = Darwin.bind
 62 |   public let connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
    |              |- warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'listen' 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
 64 |   public let accept       = Darwin.accept
 65 |   public let shutdown     = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:64:14: warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 62 |   public let connect      = Darwin.connect
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
    |              |- warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'accept' 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
 65 |   public let shutdown     = Darwin.shutdown
 66 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:65:14: warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |   public let listen       = Darwin.listen
 64 |   public let accept       = Darwin.accept
 65 |   public let shutdown     = Darwin.shutdown
    |              |- warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shutdown' 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
 66 |
 67 |   public let getsockname  = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:67:14: warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 65 |   public let shutdown     = Darwin.shutdown
 66 |
 67 |   public let getsockname  = Darwin.getsockname
    |              |- warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getsockname' 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
 68 |   public let getpeername  = Darwin.getpeername
 69 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 66 |
 67 |   public let getsockname  = Darwin.getsockname
 68 |   public let getpeername  = Darwin.getpeername
    |              |- warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getpeername' 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
 69 |
 70 |   public let setsockopt   = Darwin.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:70:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 68 |   public let getpeername  = Darwin.getpeername
 69 |
 70 |   public let setsockopt   = Darwin.setsockopt
    |              |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'setsockopt' 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
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:72:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 70 |   public let setsockopt   = Darwin.setsockopt
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
    |              |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'getaddrinfo' 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
 73 |   public let freeaddrinfo = Darwin.freeaddrinfo
 74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:73:14: warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
 71 |
 72 |   public let getaddrinfo  = Darwin.getaddrinfo
 73 |   public let freeaddrinfo = Darwin.freeaddrinfo
    |              |- warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'freeaddrinfo' 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
 74 |
 75 |   public let SOCK_STREAM  = Darwin.SOCK_STREAM
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 26 |   public typealias time_t    = Darwin.time_t
 27 |
 28 |   public let time          = Darwin.time
    |              |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'time' 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
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
 27 |
 28 |   public let time          = Darwin.time
 29 |   public let gmtime_r      = Darwin.gmtime_r
    |              |- warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'gmtime_r' 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
 30 |   public let localtime_r   = Darwin.localtime_r
 31 |   public let strftime      = Darwin.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
 28 |   public let time          = Darwin.time
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
    |              |- warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'localtime_r' 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
 31 |   public let strftime      = Darwin.strftime
 32 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
 29 |   public let gmtime_r      = Darwin.gmtime_r
 30 |   public let localtime_r   = Darwin.localtime_r
 31 |   public let strftime      = Darwin.strftime
    |              |- warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'strftime' 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
 32 | #endif
 33 |
/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 'Darwin' 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 'Darwin' 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 'Darwin' 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 'Darwin' 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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' 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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
    |   `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
181 |   import Foundation // this is for POSIXError : Error
182 |
183 |   extension POSIXErrorCode : Error {}
    |   `- warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' 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 protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
    |   `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
181 |   import Foundation // this is for POSIXError : Error
182 |
183 |   extension POSIXErrorCode : Error {}
    |   `- warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
184 | #endif // MacOS
185 |
Build complete! (19.32s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.