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, reference main (084e2f), with Swift 6.0 for Linux on 2 Nov 2024 00:50:48 UTC.

Swift 6 data race errors: 53

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/xsys.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NozeIO/xsys.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling xsys ioctl.swift
/host/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'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:15: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
13 |
14 |   public let dlsym  = Glibc.dlsym
15 |   public let dlopen = Glibc.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
16 |
17 | #else
/host/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'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:14:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, UnsafePointer<Int8>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |   import Glibc
13 |
14 |   public let dlsym  = Glibc.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, 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
15 |   public let dlopen = Glibc.dlopen
16 |
/host/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'
/host/spi-builder-workspace/Sources/xsys/misc.swift:24: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
 22 |
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.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
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:25: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
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.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
 26 |   public let strchr        = Glibc.strchr
 27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:26:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(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
 27 |
 28 |   // Looks like todays Linux Swift doesn't have arc4random either.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:36: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
 34 |   }
 35 |
 36 |   public let kill          = Glibc.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
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:37:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:38:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:39:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:40:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> 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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:41: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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:42: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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:43: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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.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
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:44: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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:45: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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:47: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:48: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 49 |   public let waitpid       = Glibc.waitpid
 50 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:49: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
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.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
 50 |
 51 |   public let getenv        = Glibc.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:51:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 49 |   public let waitpid       = Glibc.waitpid
 50 |
 51 |   public let getenv        = Glibc.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(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
 52 |
 53 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:71:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(Int32, UnsafeMutablePointer<rlimit>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 69 |   // rlimit
 70 |   public typealias rlimit  = Glibc.rlimit
 71 |   public let getrlimit     = Glibc.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:74: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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
 74 |   public let sysconf       = Glibc.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
 75 | #else
 76 |   import Darwin
[4/16] Compiling xsys misc.swift
/host/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'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:15: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
13 |
14 |   public let dlsym  = Glibc.dlsym
15 |   public let dlopen = Glibc.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
16 |
17 | #else
/host/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'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:14:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, UnsafePointer<Int8>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |   import Glibc
13 |
14 |   public let dlsym  = Glibc.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, 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
15 |   public let dlopen = Glibc.dlopen
16 |
/host/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'
/host/spi-builder-workspace/Sources/xsys/misc.swift:24: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
 22 |
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.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
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:25: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
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.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
 26 |   public let strchr        = Glibc.strchr
 27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:26:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(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
 27 |
 28 |   // Looks like todays Linux Swift doesn't have arc4random either.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:36: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
 34 |   }
 35 |
 36 |   public let kill          = Glibc.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
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:37:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:38:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:39:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:40:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> 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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:41: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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:42: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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:43: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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.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
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:44: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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:45: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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:47: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:48: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 49 |   public let waitpid       = Glibc.waitpid
 50 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:49: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
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.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
 50 |
 51 |   public let getenv        = Glibc.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:51:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 49 |   public let waitpid       = Glibc.waitpid
 50 |
 51 |   public let getenv        = Glibc.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(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
 52 |
 53 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:71:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(Int32, UnsafeMutablePointer<rlimit>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 69 |   // rlimit
 70 |   public typealias rlimit  = Glibc.rlimit
 71 |   public let getrlimit     = Glibc.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:74: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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
 74 |   public let sysconf       = Glibc.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
 75 | #else
 76 |   import Darwin
[5/16] Compiling xsys ntohs.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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 |
[6/16] Compiling xsys sockaddr_any.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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 |
[7/17] Compiling xsys socket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let socket       = Glibc.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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:17:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
    |              |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, 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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:18: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
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:19: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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:20: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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.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
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:21: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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:22: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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:24: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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
 24 |   public let getsockname  = Glibc.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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:25: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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
 25 |   public let getpeername  = Glibc.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
 26 |
 27 |   public let setsockopt   = Glibc.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:27: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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
 27 |   public let setsockopt   = Glibc.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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:29: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
 27 |   public let setsockopt   = Glibc.setsockopt
 28 |
 29 |   public let getaddrinfo  = Glibc.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
 30 |   public let freeaddrinfo = Glibc.freeaddrinfo
 31 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:30: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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
 30 |   public let freeaddrinfo = Glibc.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
 31 |
 32 |   public let SOCK_STREAM  : Int32 = Int32(Glibc.SOCK_STREAM.rawValue)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:17: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
 15 |   public typealias time_t    = Glibc.time_t
 16 |
 17 |   public let time          = Glibc.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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:18: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
 16 |
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.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
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:19: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
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.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
 20 |   public let strftime      = Glibc.strftime
 21 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:20: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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.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
 21 |
 22 | #else
[8/17] Compiling xsys time.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let socket       = Glibc.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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:17:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
    |              |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, 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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:18: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
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:19: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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:20: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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.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
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:21: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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:22: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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:24: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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
 24 |   public let getsockname  = Glibc.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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:25: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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
 25 |   public let getpeername  = Glibc.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
 26 |
 27 |   public let setsockopt   = Glibc.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:27: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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
 27 |   public let setsockopt   = Glibc.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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:29: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
 27 |   public let setsockopt   = Glibc.setsockopt
 28 |
 29 |   public let getaddrinfo  = Glibc.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
 30 |   public let freeaddrinfo = Glibc.freeaddrinfo
 31 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:30: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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
 30 |   public let freeaddrinfo = Glibc.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
 31 |
 32 |   public let SOCK_STREAM  : Int32 = Int32(Glibc.SOCK_STREAM.rawValue)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:17: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
 15 |   public typealias time_t    = Glibc.time_t
 16 |
 17 |   public let time          = Glibc.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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:18: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
 16 |
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.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
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:19: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
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.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
 20 |   public let strftime      = Glibc.strftime
 21 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:20: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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.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
 21 |
 22 | #else
[9/17] Compiling xsys timespec.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 93 |   @inlinable
 94 |   public var description : String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
105 |   @inlinable
106 |   public var description : String {
[10/17] Compiling xsys timeval_any.swift
[11/17] Compiling xsys SocketAddress.swift
[12/17] Compiling xsys UUID.swift
[13/17] Emitting module xsys
/host/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 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:14:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, UnsafePointer<Int8>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |   import Glibc
13 |
14 |   public let dlsym  = Glibc.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, 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
15 |   public let dlopen = Glibc.dlopen
16 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:15: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
13 |
14 |   public let dlsym  = Glibc.dlsym
15 |   public let dlopen = Glibc.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
16 |
17 | #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let open      : xsysOpenType = Glibc.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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:17: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
 15 |
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:18: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
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:19: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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.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
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:20: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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.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
 21 |   public let sendto    = Glibc.sendto
 22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:21: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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.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
 22 |
 23 |   public let access    = Glibc.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:23:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 21 |   public let sendto    = Glibc.sendto
 22 |
 23 |   public let access    = Glibc.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(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
 24 |   public let F_OK      = Glibc.F_OK
 25 |   public let R_OK      = Glibc.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:46:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     return Glibc.lstat(p, r)
 45 |   }
 46 |   public let lstat     = Glibc.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
 47 |
 48 |   public let opendir   = Glibc.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:48:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') may have shared mutable state; this is an error in the Swift 6 language mode
 46 |   public let lstat     = Glibc.lstat
 47 |
 48 |   public let opendir   = Glibc.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') 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
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:49:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 47 |
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 50 |   public let readdir   = Glibc.readdir
 51 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:50:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 51 |
 52 |   public typealias dirent      = Glibc.dirent
/host/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)
/host/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)
/host/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'
/host/spi-builder-workspace/Sources/xsys/misc.swift:24: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
 22 |
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.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
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:25: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
 23 |   public typealias size_t  = Glibc.size_t
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.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
 26 |   public let strchr        = Glibc.strchr
 27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:26:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 24 |   public let memcpy        = Glibc.memcpy
 25 |   public let strlen        = Glibc.strlen
 26 |   public let strchr        = Glibc.strchr
    |              |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(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
 27 |
 28 |   // Looks like todays Linux Swift doesn't have arc4random either.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:36: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
 34 |   }
 35 |
 36 |   public let kill          = Glibc.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
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:37:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
    |              |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:38:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 36 |   public let kill          = Glibc.kill
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
    |              |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:39:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 37 |   public let chdir         = Glibc.chdir
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
    |              |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:40:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 38 |   public let rmdir         = Glibc.rmdir
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
    |              |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, __mode_t) -> Int32' (aka '(UnsafePointer<Int8>, UInt32) -> 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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:41: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
 39 |   public let unlink        = Glibc.unlink
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:42: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
 40 |   public let mkdir         = Glibc.mkdir
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:43: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
 41 |   public let getcwd        = Glibc.getcwd
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.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
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:44: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
 42 |   public let getegid       = Glibc.getegid
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:45: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
 43 |   public let geteuid       = Glibc.geteuid
 44 |   public let getgid        = Glibc.getgid
 45 |   public let getuid        = Glibc.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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:47: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 45 |   public let getuid        = Glibc.getuid
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:48: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 46 |   public typealias pid_t   = Glibc.pid_t
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
 49 |   public let waitpid       = Glibc.waitpid
 50 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:49: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
 47 |   public let posix_spawn   = Glibc.posix_spawn
 48 |   public let posix_spawnp  = Glibc.posix_spawnp
 49 |   public let waitpid       = Glibc.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
 50 |
 51 |   public let getenv        = Glibc.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:51:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
 49 |   public let waitpid       = Glibc.waitpid
 50 |
 51 |   public let getenv        = Glibc.getenv
    |              |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(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
 52 |
 53 |   // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:71:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(Int32, UnsafeMutablePointer<rlimit>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 69 |   // rlimit
 70 |   public typealias rlimit  = Glibc.rlimit
 71 |   public let getrlimit     = Glibc.getrlimit
    |              |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:74: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
 72 |   public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
 73 |   public let _SC_OPEN_MAX  = Glibc._SC_OPEN_MAX
 74 |   public let sysconf       = Glibc.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
 75 | #else
 76 |   import Darwin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/spi-builder-workspace/Sources/xsys/socket.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let socket       = Glibc.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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:17:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
    |              |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt, 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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:18: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
 16 |   public let socket       = Glibc.socket
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:19: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
 17 |   public let poll         = Glibc.poll
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:20: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
 18 |   public let bind         = Glibc.bind
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.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
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:21: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
 19 |   public let connect      = Glibc.connect
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:22: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
 20 |   public let listen       = Glibc.listen
 21 |   public let accept       = Glibc.accept
 22 |   public let shutdown     = Glibc.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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:24: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
 22 |   public let shutdown     = Glibc.shutdown
 23 |
 24 |   public let getsockname  = Glibc.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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:25: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
 23 |
 24 |   public let getsockname  = Glibc.getsockname
 25 |   public let getpeername  = Glibc.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
 26 |
 27 |   public let setsockopt   = Glibc.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:27: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
 25 |   public let getpeername  = Glibc.getpeername
 26 |
 27 |   public let setsockopt   = Glibc.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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:29: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
 27 |   public let setsockopt   = Glibc.setsockopt
 28 |
 29 |   public let getaddrinfo  = Glibc.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
 30 |   public let freeaddrinfo = Glibc.freeaddrinfo
 31 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:30: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
 28 |
 29 |   public let getaddrinfo  = Glibc.getaddrinfo
 30 |   public let freeaddrinfo = Glibc.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
 31 |
 32 |   public let SOCK_STREAM  : Int32 = Int32(Glibc.SOCK_STREAM.rawValue)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:17: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
 15 |   public typealias time_t    = Glibc.time_t
 16 |
 17 |   public let time          = Glibc.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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:18: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
 16 |
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.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
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:19: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
 17 |   public let time          = Glibc.time
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.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
 20 |   public let strftime      = Glibc.strftime
 21 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:20: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
 18 |   public let gmtime_r      = Glibc.gmtime_r
 19 |   public let localtime_r   = Glibc.localtime_r
 20 |   public let strftime      = Glibc.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
 21 |
 22 | #else
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 93 |   @inlinable
 94 |   public var description : String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
105 |   @inlinable
106 |   public var description : String {
[14/17] Compiling xsys Module.swift
/host/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 |
[15/17] Compiling xsys POSIXError.swift
/host/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 |
[16/17] Compiling xsys dylib.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:14:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, UnsafePointer<Int8>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |   import Glibc
13 |
14 |   public let dlsym  = Glibc.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, 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
15 |   public let dlopen = Glibc.dlopen
16 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:15: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
13 |
14 |   public let dlsym  = Glibc.dlsym
15 |   public let dlopen = Glibc.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
16 |
17 | #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let open      : xsysOpenType = Glibc.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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:17: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
 15 |
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:18: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
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:19: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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.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
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:20: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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.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
 21 |   public let sendto    = Glibc.sendto
 22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:21: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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.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
 22 |
 23 |   public let access    = Glibc.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:23:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 21 |   public let sendto    = Glibc.sendto
 22 |
 23 |   public let access    = Glibc.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(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
 24 |   public let F_OK      = Glibc.F_OK
 25 |   public let R_OK      = Glibc.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:46:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     return Glibc.lstat(p, r)
 45 |   }
 46 |   public let lstat     = Glibc.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
 47 |
 48 |   public let opendir   = Glibc.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:48:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') may have shared mutable state; this is an error in the Swift 6 language mode
 46 |   public let lstat     = Glibc.lstat
 47 |
 48 |   public let opendir   = Glibc.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') 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
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:49:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 47 |
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 50 |   public let readdir   = Glibc.readdir
 51 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:50:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 51 |
 52 |   public typealias dirent      = Glibc.dirent
[17/17] Compiling xsys fd.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:14:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, UnsafePointer<Int8>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |   import Glibc
13 |
14 |   public let dlsym  = Glibc.dlsym
   |              |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, 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
15 |   public let dlopen = Glibc.dlopen
16 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/dylib.swift:15: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
13 |
14 |   public let dlsym  = Glibc.dlsym
15 |   public let dlopen = Glibc.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
16 |
17 | #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:16: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
 14 |   import Glibc
 15 |
 16 |   public let open      : xsysOpenType = Glibc.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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:17: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
 15 |
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:18: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
 16 |   public let open      : xsysOpenType = Glibc.open
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:19: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
 17 |   public let close     = Glibc.close
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.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
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:20: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
 18 |   public let read      = Glibc.read
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.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
 21 |   public let sendto    = Glibc.sendto
 22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:21: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
 19 |   public let write     = Glibc.write
 20 |   public let recvfrom  = Glibc.recvfrom
 21 |   public let sendto    = Glibc.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
 22 |
 23 |   public let access    = Glibc.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:23:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 21 |   public let sendto    = Glibc.sendto
 22 |
 23 |   public let access    = Glibc.access
    |              |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> Int32' (aka '(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
 24 |   public let F_OK      = Glibc.F_OK
 25 |   public let R_OK      = Glibc.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:46:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     return Glibc.lstat(p, r)
 45 |   }
 46 |   public let lstat     = Glibc.lstat
    |              |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
 47 |
 48 |   public let opendir   = Glibc.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:48:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') may have shared mutable state; this is an error in the Swift 6 language mode
 46 |   public let lstat     = Glibc.lstat
 47 |
 48 |   public let opendir   = Glibc.opendir
    |              |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> OpaquePointer?' (aka '(UnsafePointer<Int8>) -> Optional<OpaquePointer>') 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
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:49:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 47 |
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
    |              |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 50 |   public let readdir   = Glibc.readdir
 51 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:50:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |   public let opendir   = Glibc.opendir
 49 |   public let closedir  = Glibc.closedir
 50 |   public let readdir   = Glibc.readdir
    |              |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(OpaquePointer) -> 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
 51 |
 52 |   public typealias dirent      = Glibc.dirent
Build complete! (7.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "xsys",
  "name" : "xsys",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.