The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Socket, reference main (9945ad), with Swift 6.1 for Linux on 28 Apr 2025 19:18:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/Socket.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/stackotter/Socket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9945adf Fix pointer related build warnings
Cloned https://github.com/stackotter/Socket.git
Revision (git rev-parse @):
9945adfb7b2b089b1f9963db31544f604d260293
SUCCESS checkout https://github.com/stackotter/Socket.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stackotter/Socket.git
https://github.com/stackotter/Socket.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "Socket",
  "name" : "Socket",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Socket",
      "targets" : [
        "Socket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SocketTests",
      "module_type" : "SwiftTarget",
      "name" : "SocketTests",
      "path" : "Tests/SocketTests",
      "sources" : [
        "SocketTests.swift"
      ],
      "target_dependencies" : [
        "Socket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Socket",
      "module_type" : "SwiftTarget",
      "name" : "Socket",
      "path" : "Sources/Socket",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "Socket.swift",
        "SocketContinuation.swift",
        "SocketManager.swift",
        "SocketManager/AsyncSocketManager.swift",
        "SocketManager/CFSocketManager.swift",
        "System/CInternetAddress.swift",
        "System/CInterop.swift",
        "System/CSocketAddress.swift",
        "System/Constants.swift",
        "System/Errno.swift",
        "System/FileChange.swift",
        "System/FileEvent.swift",
        "System/FileFlags.swift",
        "System/InputOutput/IOControl.swift",
        "System/InputOutput/IODirection.swift",
        "System/InputOutput/IOOperations.swift",
        "System/InputOutput/IOType.swift",
        "System/InternetProtocol.swift",
        "System/MessageFlags.swift",
        "System/NetworkInterface.swift",
        "System/NetworkOrder.swift",
        "System/Poll.swift",
        "System/SocketAddress.swift",
        "System/SocketAddress/IPv4SocketAddress.swift",
        "System/SocketAddress/IPv6SocketAddress.swift",
        "System/SocketAddress/LinkLayerSocketAddress.swift",
        "System/SocketAddress/UnixSocketAddress.swift",
        "System/SocketAddressFamily.swift",
        "System/SocketDescriptor.swift",
        "System/SocketFlags.swift",
        "System/SocketHelpers.swift",
        "System/SocketOperations.swift",
        "System/SocketOption.swift",
        "System/SocketOptionID.swift",
        "System/SocketOptionLevel.swift",
        "System/SocketProtocol.swift",
        "System/SocketProtocol/IPv4Protocol.swift",
        "System/SocketProtocol/IPv6Protocol.swift",
        "System/SocketProtocol/LinkLayerProtocol.swift",
        "System/SocketProtocol/UnixProtocol.swift",
        "System/SocketType.swift",
        "System/Syscalls.swift",
        "System/Util.swift"
      ],
      "target_dependencies" : [
        "CSocket"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSocket",
      "module_type" : "ClangTarget",
      "name" : "CSocket",
      "path" : "Sources/CSocket",
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-system
[1/4353] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.34s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.77s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Building for debugging...
[0/5] Write sources
[2/5] Compiling CSocket shims.c
[3/5] Compiling CSystem shims.c
[3/5] Write swift-version-24593BA9C3E375BF.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage MachPort.swift
[8/36] Compiling SystemPackage PlatformString.swift
[9/36] Compiling SystemPackage SystemString.swift
[10/36] Compiling SystemPackage Util+StringArray.swift
[11/36] Compiling SystemPackage Util.swift
[12/36] Compiling SystemPackage UtilConsumers.swift
[13/36] Compiling SystemPackage FileOperations.swift
[14/36] Compiling SystemPackage FilePath.swift
[15/36] Compiling SystemPackage FilePathComponentView.swift
[16/36] Compiling SystemPackage FilePathComponents.swift
[17/36] Compiling SystemPackage FilePathTempPosix.swift
[18/36] Compiling SystemPackage FilePathTempWindows.swift
[19/36] Compiling SystemPackage FilePathWindows.swift
[20/36] Compiling SystemPackage FilePermissions.swift
[21/36] Compiling SystemPackage FilePathParsing.swift
[22/36] Compiling SystemPackage FilePathString.swift
[23/36] Compiling SystemPackage FilePathSyntax.swift
[24/36] Compiling SystemPackage FilePathTemp.swift
[25/36] Compiling SystemPackage Errno.swift
[26/36] Compiling SystemPackage ErrnoWindows.swift
[27/36] Compiling SystemPackage FileDescriptor.swift
[28/36] Compiling SystemPackage FileHelpers.swift
[29/36] Compiling SystemPackage Mocking.swift
[30/36] Compiling SystemPackage RawBuffer.swift
[31/36] Compiling SystemPackage Syscalls.swift
[32/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/36] Compiling SystemPackage Backcompat.swift
[34/36] Compiling SystemPackage CInterop.swift
[35/36] Compiling SystemPackage Constants.swift
[36/36] Compiling SystemPackage Exports.swift
[38/76] Compiling Socket SocketDescriptor.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[39/76] Compiling Socket SocketFlags.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[40/76] Compiling Socket SocketHelpers.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[41/76] Compiling Socket SocketOperations.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[42/76] Compiling Socket SocketOption.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[43/76] Compiling Socket SocketOptionID.swift
[44/76] Compiling Socket SocketOptionLevel.swift
[45/76] Compiling Socket SocketProtocol.swift
[46/76] Compiling Socket IPv4Protocol.swift
[47/76] Compiling Socket IPv6Protocol.swift
[48/81] Compiling Socket LinkLayerProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[49/81] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[50/81] Compiling Socket SocketType.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[51/81] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[52/81] Compiling Socket Util.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[53/81] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[54/81] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[55/81] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[56/81] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[57/81] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[58/81] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[59/81] Compiling Socket MessageFlags.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[60/81] Compiling Socket NetworkInterface.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[61/81] Compiling Socket NetworkOrder.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[62/81] Compiling Socket Poll.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[63/81] Compiling Socket SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[64/81] Compiling Socket FileFlags.swift
[65/81] Compiling Socket IOControl.swift
[66/81] Compiling Socket IODirection.swift
[67/81] Compiling Socket IOOperations.swift
[68/81] Compiling Socket IOType.swift
[69/81] Compiling Socket InternetProtocol.swift
[70/81] Compiling Socket CInterop.swift
[71/81] Compiling Socket CSocketAddress.swift
[72/81] Compiling Socket Constants.swift
[73/81] Compiling Socket Errno.swift
[74/81] Compiling Socket FileChange.swift
[75/81] Compiling Socket FileEvent.swift
[76/81] Compiling Socket Socket.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
[77/81] Compiling Socket SocketContinuation.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
[78/81] Compiling Socket SocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
[79/81] Compiling Socket AsyncSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
[80/81] Compiling Socket CFSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
[81/81] Compiling Socket CInternetAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:17:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// Configuration for fine-tuning socket performance.
 17 |     public static var configuration: AsyncSocketConfiguration = AsyncSocketConfiguration() {
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         didSet {
 19 |             configuration.configureManager()
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:60:10: warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 58 |     // MARK: - Methods
 59 |
 60 |     func add(
    |          `- warning: non-sendable type 'Socket.Event.Stream' (aka 'AsyncStream<Socket.Event>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'add'; this is an error in the Swift 6 language mode
 61 |         _ fileDescriptor: SocketDescriptor
 62 |     ) -> Socket.Event.Stream {
/host/spi-builder-workspace/Sources/Socket/Socket.swift:181:10: note: consider making enum 'Event' conform to the 'Sendable' protocol
179 |
180 |     /// Socket Event
181 |     enum Event {
    |          `- note: consider making enum 'Event' conform to the 'Sendable' protocol
182 |
183 |         /// New connection
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:165:33: warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
156 |     }
157 |
158 |     nonisolated func receiveMessage<Address: SocketAddress>(
    |                                     `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
159 |         _ length: Int,
160 |         fromAddressOf addressType: Address.Type,
    :
163 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
164 |         await log("Will receive message with \(length) bytes from \(fileDescriptor)")
165 |         return try await socket.receiveMessage(length, fromAddressOf: addressType)
    |                                 `- warning: non-sendable result type '(Data, Address)' cannot be sent from actor-isolated context in call to instance method 'receiveMessage(_:fromAddressOf:)'; this is an error in the Swift 6 language mode
166 |     }
167 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:185:33: warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
178 |
179 |     /// Accept a connection on a socket.
180 |     nonisolated func accept<Address: SocketAddress>(
    |                             `- note: consider making generic parameter 'Address' conform to the 'Sendable' protocol
181 |         _ address: Address.Type,
182 |         for fileDescriptor: SocketDescriptor
183 |     ) async throws -> (fileDescriptor: SocketDescriptor, address: Address) {
184 |         let socket = try await wait(for: .read, fileDescriptor: fileDescriptor)
185 |         return try await socket.accept(address)
    |                                 `- warning: non-sendable result type '(SocketDescriptor, Address)' cannot be sent from actor-isolated context in call to instance method 'accept'; this is an error in the Swift 6 language mode
186 |     }
187 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:194:32: warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
192 |     ) async throws {
193 |         let socket = try await socket(for: fileDescriptor)
194 |         try await retry(sleep: state.configuration.monitorInterval) {
    |                                `- warning: non-sendable type 'AsyncSocketManager.ManagerState' of property 'state' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
195 |             fileDescriptor._connect(to: address, retryOnInterrupt: true)
196 |         }.get()
    :
512 | extension AsyncSocketManager {
513 |
514 |     struct ManagerState {
    |            `- note: consider making struct 'ManagerState' conform to the 'Sendable' protocol
515 |
516 |         var configuration = AsyncSocketConfiguration()
/host/spi-builder-workspace/Sources/Socket/SocketContinuation.swift:34:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 |         function: String = #function
33 |     ) {
34 |         continuation.resume(returning: value)
   |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 |     }
36 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:39:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |
 38 |     public func configureManager() {
 39 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                                                 `- note: closure captures 'self' which is accessible to code in the current task
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:40:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     public func configureManager() {
 39 |         Task {
 40 |             await AsyncSocketManager.shared.updateConfiguration(self)
    |                                             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: sending task-isolated 'self' to actor-isolated instance method 'updateConfiguration' risks causing data races between actor-isolated and task-isolated uses
 41 |         }
 42 |     }
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:146:33: warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
144 |         let socket = try await wait(for: .write, fileDescriptor: fileDescriptor)
145 |         await log("Will send message with \(data.count) bytes to \(fileDescriptor)")
146 |         return try await socket.sendMessage(data, to: address)
    |                                 |- warning: sending 'address' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'address' to actor-isolated instance method 'sendMessage(_:to:)' risks causing data races between actor-isolated and task-isolated uses
147 |     }
148 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:487:22: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
485 |         }
486 |         pendingEvents.insert(event)
487 |         continuation.yield(notification)
    |                      |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: 'self'-isolated 'notification' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
488 |     }
489 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling SystemPackage Mocking.swift
[3/29] Compiling SystemPackage RawBuffer.swift
[4/29] Compiling SystemPackage Syscalls.swift
[5/29] Compiling SystemPackage WindowsSyscallAdapters.swift
[6/29] Compiling SystemPackage MachPort.swift
[7/29] Compiling SystemPackage PlatformString.swift
[8/29] Compiling SystemPackage SystemString.swift
[9/32] Emitting module SystemPackage
[10/32] Compiling SystemPackage Util+StringArray.swift
[11/32] Compiling SystemPackage Util.swift
[12/32] Compiling SystemPackage UtilConsumers.swift
[13/32] Compiling SystemPackage Backcompat.swift
[14/32] Compiling SystemPackage CInterop.swift
[15/32] Compiling SystemPackage Constants.swift
[16/32] Compiling SystemPackage Exports.swift
[17/32] Compiling SystemPackage FilePathParsing.swift
[18/32] Compiling SystemPackage FilePathString.swift
[19/32] Compiling SystemPackage FilePathSyntax.swift
[20/32] Compiling SystemPackage FilePathTemp.swift
[21/32] Compiling SystemPackage FilePathTempPosix.swift
[22/32] Compiling SystemPackage FilePathTempWindows.swift
[23/32] Compiling SystemPackage FilePathWindows.swift
[24/32] Compiling SystemPackage FilePermissions.swift
[25/32] Compiling SystemPackage Errno.swift
[26/32] Compiling SystemPackage ErrnoWindows.swift
[27/32] Compiling SystemPackage FileDescriptor.swift
[28/32] Compiling SystemPackage FileHelpers.swift
[29/32] Compiling SystemPackage FileOperations.swift
[30/32] Compiling SystemPackage FilePath.swift
[31/32] Compiling SystemPackage FilePathComponentView.swift
[32/32] Compiling SystemPackage FilePathComponents.swift
[34/72] Compiling Socket SocketDescriptor.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[35/72] Compiling Socket SocketFlags.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[36/72] Compiling Socket SocketHelpers.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[37/72] Compiling Socket SocketOperations.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[38/72] Compiling Socket SocketOption.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:25:55: error: cannot find 'SOCK_NONBLOCK' in scope
23 |     /// Set the `O_NONBLOCK` file status flag on the open file description referred to by the new file
24 |     /// descriptor.  Using this flag saves extra calls to `fcntl()` to achieve the same result.
25 |     static var nonBlocking: SocketFlags { SocketFlags(SOCK_NONBLOCK) }
   |                                                       `- error: cannot find 'SOCK_NONBLOCK' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:28:55: error: cannot find 'SOCK_CLOEXEC' in scope
26 |
27 |     /// Set the close-on-exec (`FD_CLOEXEC`) flag on the new file descriptor.
28 |     static var closeOnExec: SocketFlags { SocketFlags(SOCK_CLOEXEC) }
   |                                                       `- error: cannot find 'SOCK_CLOEXEC' in scope
29 | }
30 |
[39/77] Compiling Socket CInterop.swift
[40/77] Compiling Socket CSocketAddress.swift
[41/77] Compiling Socket Constants.swift
[42/77] Compiling Socket Errno.swift
[43/77] Compiling Socket FileChange.swift
[44/77] Compiling Socket FileEvent.swift
[45/77] Compiling Socket Socket.swift
[46/77] Compiling Socket SocketContinuation.swift
[47/77] Compiling Socket SocketManager.swift
[48/77] Compiling Socket AsyncSocketManager.swift
[49/77] Compiling Socket CFSocketManager.swift
[50/77] Compiling Socket CInternetAddress.swift
[51/77] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketFlags.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 1 | #if os(Linux)
 2 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 |
 4 | /// Flags when opening sockets.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[52/77] Compiling Socket FileFlags.swift
[53/77] Compiling Socket IOControl.swift
[54/77] Compiling Socket IODirection.swift
[55/77] Compiling Socket IOOperations.swift
[56/77] Compiling Socket IOType.swift
[57/77] Compiling Socket InternetProtocol.swift
[58/77] Compiling Socket SocketOptionID.swift
[59/77] Compiling Socket SocketOptionLevel.swift
[60/77] Compiling Socket SocketProtocol.swift
[61/77] Compiling Socket IPv4Protocol.swift
[62/77] Compiling Socket IPv6Protocol.swift
[63/77] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[64/77] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[65/77] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[66/77] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[67/77] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:89:34: warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
87 | }
88 |
89 | extension LinkLayerSocketAddress.CSocketAddressType: CSocketAddress {
   |                                  `- warning: 'CSocketAddressType' aliases 'CSocket.sockaddr_ll' and cannot be used in an extension with public or '@usableFromInline' members because 'CSocket' has been imported as implementation-only; this is an error in the Swift 6 language mode
90 |
91 |     @_alwaysEmitIntoClient
/usr/include/netpacket/packet.h:22:8: note: type declared here
20 | #define __NETPACKET_PACKET_H	1
21 |
22 | struct sockaddr_ll
   |        `- note: type declared here
23 |   {
24 |     unsigned short int sll_family;
[68/77] Compiling Socket MessageFlags.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[69/77] Compiling Socket NetworkInterface.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[70/77] Compiling Socket NetworkOrder.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[71/77] Compiling Socket Poll.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[72/77] Compiling Socket SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[73/77] Compiling Socket LinkLayerProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[74/77] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[75/77] Compiling Socket SocketType.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[76/77] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
[77/77] Compiling Socket Util.swift
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:57:75: error: cannot find 'SOCK_DCCP' in scope
55 |     ///
56 |     /// Linux specific way of getting packets at the dev level.
57 |     static var datagramCongestionControlProtocol: SocketType { SocketType(SOCK_DCCP) }
   |                                                                           `- error: cannot find 'SOCK_DCCP' in scope
58 | }
59 | #endif
BUILD FAILURE 6.1 linux