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 Embassy, reference 4.1.6 (8469f2), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:30:43 UTC.

Swift 6 data race errors: 16

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/envoy/Embassy.git
Reference: 4.1.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/envoy/Embassy
 * tag               4.1.6      -> FETCH_HEAD
HEAD is now at 8469f2c Merge pull request #106 from mahyarwd/fix-4.1.5-build-error
Cloned https://github.com/envoy/Embassy.git
Revision (git rev-parse @):
8469f2c1b334a7c1c3566e2cb2f97826c7cca898
SUCCESS checkout https://github.com/envoy/Embassy.git at 4.1.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "embassy",
      "name": "Embassy",
      "url": "https://github.com/envoy/Embassy.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Embassy",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/envoy/Embassy.git
[1/1838] Fetching embassy
Fetched https://github.com/envoy/Embassy.git from cache (0.93s)
Creating working copy for https://github.com/envoy/Embassy.git
Working copy of https://github.com/envoy/Embassy.git resolved at 4.1.6 (8469f2c)
warning: '.resolve-product-dependencies': dependency 'embassy' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/envoy/Embassy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/30] Emitting module Embassy
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:96:20: warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         // MARK: Darwin methods
 95 |
 96 |         static let pipe = Darwin.pipe
    |                    |- warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:97:20: warning: static property '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
 95 |
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
    |                    |- warning: static property '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
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:100:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:101:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'ntohs' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:102:20: warning: static property '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
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
    |                    |- warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:103:20: warning: static property '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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
    |                    |- warning: static property '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
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:104:20: warning: static property '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
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
    |                    |- warning: static property '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
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:105:20: warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
    |                    |- warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:106:20: warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
    |                    |- warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'send' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:107:20: warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
    |                    |- warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'recv' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:108:20: warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
    |                    |- warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:109:20: warning: static property '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
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
    |                    |- warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:110:20: warning: static property '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
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
    |                    |- warning: static property '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
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:111:20: warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
    |                    |- warning: static property '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
112 |         static let getsockname = Darwin.getsockname
113 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:112:20: warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
    |                    |- warning: static property '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
113 |
114 |         static func fdSet(fd: Int32, set: inout fd_set) {
[4/32] Compiling Embassy DefaultLogger.swift
[5/32] Compiling Embassy Errors.swift
[6/32] Compiling Embassy EventLoop.swift
[7/32] Compiling Embassy PrintLogHandler.swift
[8/32] Compiling Embassy PropagateLogHandler.swift
[9/32] Compiling Embassy SWSGI.swift
[10/32] Compiling Embassy Atomic.swift
[11/32] Compiling Embassy DefaultHTTPServer.swift
[12/32] Compiling Embassy DefaultLogFormatter.swift
[13/32] Compiling Embassy LogHandler.swift
[14/32] Compiling Embassy Logger.swift
[15/32] Compiling Embassy MultiDictionary.swift
[16/32] Compiling Embassy TransformLogHandler.swift
[17/32] Compiling Embassy Transport.swift
[18/32] Compiling Embassy SWSGIUtils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
[19/32] Compiling Embassy SelectSelector.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
[20/32] Compiling Embassy Selector.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
[21/32] Compiling Embassy IOUtils.swift
[22/32] Compiling Embassy KqueueSelector.swift
[23/32] Compiling Embassy LogFormatter.swift
[24/32] Compiling Embassy FileLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
   |               `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 |     let fileHandle: FileHandle
15 |     public var formatter: LogFormatter?
   :
27 |     public func emit(record: LogRecord) {
28 |         queue.async {
29 |             if let formatter = self.formatter {
   |                                `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |                 let msg = formatter.format(record: record) + "\n"
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |         queue.async {
29 |             if let formatter = self.formatter {
30 |                 let msg = formatter.format(record: record) + "\n"
   |                                                    `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 |                 self.fileHandle.synchronizeFile()
/Users/admin/builder/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
   |               `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 |     let loggerName: String
39 |     let level: LogLevel
[25/32] Compiling Embassy HTTPConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
   |               `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 |     let fileHandle: FileHandle
15 |     public var formatter: LogFormatter?
   :
27 |     public func emit(record: LogRecord) {
28 |         queue.async {
29 |             if let formatter = self.formatter {
   |                                `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |                 let msg = formatter.format(record: record) + "\n"
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |         queue.async {
29 |             if let formatter = self.formatter {
30 |                 let msg = formatter.format(record: record) + "\n"
   |                                                    `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 |                 self.fileHandle.synchronizeFile()
/Users/admin/builder/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
   |               `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 |     let loggerName: String
39 |     let level: LogLevel
[26/32] Compiling Embassy HTTPHeaderParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
   |               `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 |     let fileHandle: FileHandle
15 |     public var formatter: LogFormatter?
   :
27 |     public func emit(record: LogRecord) {
28 |         queue.async {
29 |             if let formatter = self.formatter {
   |                                `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |                 let msg = formatter.format(record: record) + "\n"
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/Users/admin/builder/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |         queue.async {
29 |             if let formatter = self.formatter {
30 |                 let msg = formatter.format(record: record) + "\n"
   |                                                    `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |                 self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 |                 self.fileHandle.synchronizeFile()
/Users/admin/builder/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
   |               `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 |     let loggerName: String
39 |     let level: LogLevel
[27/32] Compiling Embassy SelectorEventLoop.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:96:20: warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         // MARK: Darwin methods
 95 |
 96 |         static let pipe = Darwin.pipe
    |                    |- warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:108:20: warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
    |                    |- warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:110:20: warning: static property '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
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
    |                    |- warning: static property '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
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:97:20: warning: static property '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
 95 |
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
    |                    |- warning: static property '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
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:100:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:101:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'ntohs' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:102:20: warning: static property '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
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
    |                    |- warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:103:20: warning: static property '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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
    |                    |- warning: static property '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
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:104:20: warning: static property '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
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
    |                    |- warning: static property '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
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:105:20: warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
    |                    |- warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:106:20: warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
    |                    |- warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'send' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:107:20: warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
    |                    |- warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'recv' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:109:20: warning: static property '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
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
    |                    |- warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:111:20: warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
    |                    |- warning: static property '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
112 |         static let getsockname = Darwin.getsockname
113 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:112:20: warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
    |                    |- warning: static property '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
113 |
114 |         static func fdSet(fd: Int32, set: inout fd_set) {
/Users/admin/builder/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 |             inet_ntop(
290 |                 family,
291 |                 &addrStruct,
    |                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 |                 pointer,
293 |                 socklen_t(addressLength)
[28/32] Compiling Embassy SystemLibrary.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:96:20: warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         // MARK: Darwin methods
 95 |
 96 |         static let pipe = Darwin.pipe
    |                    |- warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:108:20: warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
    |                    |- warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:110:20: warning: static property '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
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
    |                    |- warning: static property '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
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:97:20: warning: static property '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
 95 |
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
    |                    |- warning: static property '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
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:100:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:101:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'ntohs' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:102:20: warning: static property '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
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
    |                    |- warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:103:20: warning: static property '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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
    |                    |- warning: static property '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
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:104:20: warning: static property '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
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
    |                    |- warning: static property '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
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:105:20: warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
    |                    |- warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:106:20: warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
    |                    |- warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'send' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:107:20: warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
    |                    |- warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'recv' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:109:20: warning: static property '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
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
    |                    |- warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:111:20: warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
    |                    |- warning: static property '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
112 |         static let getsockname = Darwin.getsockname
113 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:112:20: warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
    |                    |- warning: static property '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
113 |
114 |         static func fdSet(fd: Int32, set: inout fd_set) {
/Users/admin/builder/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 |             inet_ntop(
290 |                 family,
291 |                 &addrStruct,
    |                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 |                 pointer,
293 |                 socklen_t(addressLength)
[29/32] Compiling Embassy TCPSocket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:96:20: warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         // MARK: Darwin methods
 95 |
 96 |         static let pipe = Darwin.pipe
    |                    |- warning: static property 'pipe' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<Int32>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:108:20: warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
    |                    |- warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:110:20: warning: static property '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
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
    |                    |- warning: static property '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
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:97:20: warning: static property '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
 95 |
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
    |                    |- warning: static property '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
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:98:20: warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |         static let pipe = Darwin.pipe
 97 |         static let socket = Darwin.socket
 98 |         static let select = Darwin.select
    |                    |- warning: static property 'select' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<fd_set>?, UnsafeMutablePointer<timeval>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'select' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:100:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         static let select = Darwin.select
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:101:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
 99 |         static let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
    |                    |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(__uint16_t) -> __uint16_t' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'ntohs' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:102:20: warning: static property '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
100 |         static let htons  = isLittleEndian ? _OSSwapInt16 : { $0 }
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
    |                    |- warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:103:20: warning: static property '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
101 |         static let ntohs  = isLittleEndian ? _OSSwapInt16 : { $0 }
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
    |                    |- warning: static property '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
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:104:20: warning: static property '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
102 |         static let connect = Darwin.connect
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
    |                    |- warning: static property '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
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:105:20: warning: static property '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
103 |         static let bind = Darwin.bind
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
    |                    |- warning: static property '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
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:106:20: warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
104 |         static let listen = Darwin.listen
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
    |                    |- warning: static property 'send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'send' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:107:20: warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
105 |         static let accept = Darwin.accept
106 |         static let send = Darwin.send
107 |         static let recv = Darwin.recv
    |                    |- warning: static property 'recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'recv' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:109:20: warning: static property '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
107 |         static let recv = Darwin.recv
108 |         static let read = Darwin.read
109 |         static let shutdown = Darwin.shutdown
    |                    |- warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:111:20: warning: static property '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
109 |         static let shutdown = Darwin.shutdown
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
    |                    |- warning: static property '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
112 |         static let getsockname = Darwin.getsockname
113 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SystemLibrary.swift:112:20: warning: static property '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
110 |         static let close = Darwin.close
111 |         static let getpeername = Darwin.getpeername
112 |         static let getsockname = Darwin.getsockname
    |                    |- warning: static property '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
113 |
114 |         static func fdSet(fd: Int32, set: inout fd_set) {
/Users/admin/builder/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 |             inet_ntop(
290 |                 family,
291 |                 &addrStruct,
    |                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 |                 pointer,
293 |                 socklen_t(addressLength)
[30/32] Compiling Embassy HTTPRequest.swift
[31/32] Compiling Embassy HTTPServer.swift
[32/32] Compiling Embassy HeapSort.swift
Build complete! (18.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Embassy",
  "name" : "Embassy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Embassy",
      "targets" : [
        "Embassy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Embassy",
      "module_type" : "SwiftTarget",
      "name" : "Embassy",
      "path" : "Sources",
      "product_memberships" : [
        "Embassy"
      ],
      "sources" : [
        "Atomic.swift",
        "DefaultHTTPServer.swift",
        "DefaultLogFormatter.swift",
        "DefaultLogger.swift",
        "Errors.swift",
        "EventLoop.swift",
        "FileLogHandler.swift",
        "HTTPConnection.swift",
        "HTTPHeaderParser.swift",
        "HTTPRequest.swift",
        "HTTPServer.swift",
        "HeapSort.swift",
        "IOUtils.swift",
        "KqueueSelector.swift",
        "LogFormatter.swift",
        "LogHandler.swift",
        "Logger.swift",
        "MultiDictionary.swift",
        "PrintLogHandler.swift",
        "PropagateLogHandler.swift",
        "SWSGI.swift",
        "SWSGIUtils.swift",
        "SelectSelector.swift",
        "Selector.swift",
        "SelectorEventLoop.swift",
        "SystemLibrary.swift",
        "TCPSocket.swift",
        "TransformLogHandler.swift",
        "Transport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.