Build Information
Successful build of Embassy, reference 4.1.6 (8469f2
), with Swift 6.0 for Linux on 2 Nov 2024 22:56:54 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/envoy/Embassy.git
Reference: 4.1.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/envoy/Embassy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Emitting module Embassy
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:25: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
23 |
24 | // MARK: Linux methods
25 | static let pipe = Glibc.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
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:28:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
| |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:36: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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
36 | static let read = Glibc.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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:39: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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.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
40 | static let getsockname = Glibc.getsockname
41 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:40: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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.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
41 |
42 | static func fdSet(fd: Int32, set: inout fd_set) {
[4/32] Compiling Embassy SWSGI.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
[5/32] Compiling Embassy SWSGIUtils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
[6/32] Compiling Embassy SelectSelector.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
[7/32] Compiling Embassy Logger.swift
[8/32] Compiling Embassy MultiDictionary.swift
[9/32] Compiling Embassy PrintLogHandler.swift
[10/32] Compiling Embassy PropagateLogHandler.swift
[11/32] Compiling Embassy TCPSocket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
/host/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)
[12/32] Compiling Embassy TransformLogHandler.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
/host/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)
[13/32] Compiling Embassy Transport.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
/host/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)
[14/32] Compiling Embassy Atomic.swift
[15/32] Compiling Embassy DefaultHTTPServer.swift
[16/32] Compiling Embassy DefaultLogFormatter.swift
[17/32] Compiling Embassy DefaultLogger.swift
[18/32] Compiling Embassy Errors.swift
/host/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)!)
/host/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()
/host/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
[19/32] Compiling Embassy EventLoop.swift
/host/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)!)
/host/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()
/host/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
[20/32] Compiling Embassy FileLogHandler.swift
/host/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)!)
/host/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()
/host/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
[21/32] Compiling Embassy HTTPConnection.swift
/host/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)!)
/host/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()
/host/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
[22/32] Compiling Embassy IOUtils.swift
[23/32] Compiling Embassy KqueueSelector.swift
[24/32] Compiling Embassy LogFormatter.swift
[25/32] Compiling Embassy LogHandler.swift
[26/32] Compiling Embassy HTTPHeaderParser.swift
[27/32] Compiling Embassy HTTPRequest.swift
[28/32] Compiling Embassy HTTPServer.swift
[29/32] Compiling Embassy HeapSort.swift
[30/32] Compiling Embassy Selector.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:25: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
23 |
24 | // MARK: Linux methods
25 | static let pipe = Glibc.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
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:36: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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
36 | static let read = Glibc.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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:28:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
| |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:39: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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.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
40 | static let getsockname = Glibc.getsockname
41 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:40: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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.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
41 |
42 | static func fdSet(fd: Int32, set: inout fd_set) {
[31/32] Compiling Embassy SelectorEventLoop.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:25: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
23 |
24 | // MARK: Linux methods
25 | static let pipe = Glibc.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
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:36: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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
36 | static let read = Glibc.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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:28:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
| |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:39: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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.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
40 | static let getsockname = Glibc.getsockname
41 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:40: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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.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
41 |
42 | static func fdSet(fd: Int32, set: inout fd_set) {
[32/32] Compiling Embassy SystemLibrary.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:25: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
23 |
24 | // MARK: Linux methods
25 | static let pipe = Glibc.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
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:36: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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
36 | static let read = Glibc.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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:38: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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.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
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:26: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
24 | // MARK: Linux methods
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.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
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:27: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
25 | static let pipe = Glibc.pipe
26 | static let socket = Glibc.socket
27 | static let select = Glibc.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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:28:20: warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let socket = Glibc.socket
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
| |- warning: static property 'htons' is not concurrency-safe because non-'Sendable' type '(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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:29:20: warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(UInt16) -> UInt16' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let select = Glibc.select
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
| |- warning: static property 'ntohs' is not concurrency-safe because non-'Sendable' type '(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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:30: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
28 | static let htons = Glibc.htons
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:31: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
29 | static let ntohs = Glibc.ntohs
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:32: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
30 | static let connect = Glibc.connect
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:33: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
31 | static let bind = Glibc.bind
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.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
34 | static let send = Glibc.send
35 | static let recv = Glibc.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:34: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
32 | static let listen = Glibc.listen
33 | static let accept = Glibc.accept
34 | static let send = Glibc.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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:35: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
33 | static let accept = Glibc.accept
34 | static let send = Glibc.send
35 | static let recv = Glibc.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
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:37: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
35 | static let recv = Glibc.recv
36 | static let read = Glibc.read
37 | static let shutdown = Glibc.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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:39: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
37 | static let shutdown = Glibc.shutdown
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.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
40 | static let getsockname = Glibc.getsockname
41 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SystemLibrary.swift:40: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
38 | static let close = Glibc.close
39 | static let getpeername = Glibc.getpeername
40 | static let getsockname = Glibc.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
41 |
42 | static func fdSet(fd: Int32, set: inout fd_set) {
Build complete! (17.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Embassy",
"name" : "Embassy",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.