The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Socket, reference 0.4.0 (253aef), with Swift 6.1 for Linux on 29 Apr 2025 21:38:56 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: 0.4.0
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/PureSwift/Socket
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 253aef8 Add `Sendable` conformance
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
253aef83213691b705dfeec8e20bfd7a72219fec
SUCCESS checkout https://github.com/PureSwift/Socket.git at 0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
https://github.com/PureSwift/Socket.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "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" : "6.0"
}
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 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/4364] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.36s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.80s)
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] Compiling SystemPackage FilePathTempPosix.swift
[7/33] Compiling SystemPackage FilePathTempWindows.swift
[8/33] Compiling SystemPackage FilePathWindows.swift
[9/33] Compiling SystemPackage FilePermissions.swift
[10/33] Compiling SystemPackage Errno.swift
[11/33] Compiling SystemPackage ErrnoWindows.swift
[12/33] Compiling SystemPackage FileDescriptor.swift
[13/33] Compiling SystemPackage FileHelpers.swift
[14/36] Compiling SystemPackage FileOperations.swift
[15/36] Compiling SystemPackage FilePath.swift
[16/36] Compiling SystemPackage FilePathComponentView.swift
[17/36] Compiling SystemPackage FilePathComponents.swift
[18/36] Compiling SystemPackage MachPort.swift
[19/36] Compiling SystemPackage PlatformString.swift
[20/36] Compiling SystemPackage SystemString.swift
[21/36] Emitting module SystemPackage
[22/36] Compiling SystemPackage FilePathParsing.swift
[23/36] Compiling SystemPackage FilePathString.swift
[24/36] Compiling SystemPackage FilePathSyntax.swift
[25/36] Compiling SystemPackage FilePathTemp.swift
[26/36] Compiling SystemPackage Util+StringArray.swift
[27/36] Compiling SystemPackage Util.swift
[28/36] Compiling SystemPackage UtilConsumers.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/76] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[39/81] Compiling Socket MessageFlags.swift
[40/81] Compiling Socket NetworkInterface.swift
[41/81] Compiling Socket NetworkOrder.swift
[42/81] Compiling Socket Poll.swift
[43/81] Compiling Socket SocketAddress.swift
[44/81] Compiling Socket CInterop.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[45/81] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[46/81] Compiling Socket Constants.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[47/81] Compiling Socket Errno.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[48/81] Compiling Socket FileChange.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[49/81] Compiling Socket FileEvent.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[50/81] Compiling Socket FileFlags.swift
[51/81] Compiling Socket IOControl.swift
[52/81] Compiling Socket IODirection.swift
[53/81] Compiling Socket IOOperations.swift
[54/81] Compiling Socket IOType.swift
[55/81] Compiling Socket InternetProtocol.swift
[56/81] Compiling Socket SocketDescriptor.swift
[57/81] Compiling Socket SocketFlags.swift
[58/81] Compiling Socket SocketHelpers.swift
[59/81] Compiling Socket SocketOperations.swift
[60/81] Compiling Socket SocketOption.swift
[61/81] Compiling Socket SocketOptionID.swift
[62/81] Compiling Socket SocketOptionLevel.swift
[63/81] Compiling Socket SocketProtocol.swift
[64/81] Compiling Socket IPv4Protocol.swift
[65/81] Compiling Socket IPv6Protocol.swift
[66/81] Compiling Socket LinkLayerProtocol.swift
[67/81] Compiling Socket UnixProtocol.swift
[68/81] Compiling Socket SocketType.swift
[69/81] Compiling Socket Syscalls.swift
[70/81] Compiling Socket Util.swift
[71/81] Compiling Socket Socket.swift
[72/81] Compiling Socket SocketContinuation.swift
[73/81] Compiling Socket SocketManager.swift
[74/81] Compiling Socket AsyncSocketManager.swift
[75/81] Compiling Socket CFSocketManager.swift
[76/81] Compiling Socket CInternetAddress.swift
[77/81] Compiling Socket IPv4SocketAddress.swift
[78/81] Compiling Socket IPv6SocketAddress.swift
[79/81] Compiling Socket LinkLayerSocketAddress.swift
[80/81] Compiling Socket UnixSocketAddress.swift
[81/81] Compiling Socket SocketAddressFamily.swift
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] Emitting module SystemPackage
[3/32] Compiling SystemPackage Backcompat.swift
[4/32] Compiling SystemPackage CInterop.swift
[5/32] Compiling SystemPackage Constants.swift
[6/32] Compiling SystemPackage Exports.swift
[7/32] Compiling SystemPackage MachPort.swift
[8/32] Compiling SystemPackage PlatformString.swift
[9/32] Compiling SystemPackage SystemString.swift
[10/32] Compiling SystemPackage Mocking.swift
[11/32] Compiling SystemPackage RawBuffer.swift
[12/32] Compiling SystemPackage Syscalls.swift
[13/32] Compiling SystemPackage WindowsSyscallAdapters.swift
[14/32] Compiling SystemPackage FilePathTempPosix.swift
[15/32] Compiling SystemPackage FilePathTempWindows.swift
[16/32] Compiling SystemPackage FilePathWindows.swift
[17/32] Compiling SystemPackage FilePermissions.swift
[18/32] Compiling SystemPackage FilePathParsing.swift
[19/32] Compiling SystemPackage FilePathString.swift
[20/32] Compiling SystemPackage FilePathSyntax.swift
[21/32] Compiling SystemPackage FilePathTemp.swift
[22/32] Compiling SystemPackage Errno.swift
[23/32] Compiling SystemPackage ErrnoWindows.swift
[24/32] Compiling SystemPackage FileDescriptor.swift
[25/32] Compiling SystemPackage FileHelpers.swift
[26/32] Compiling SystemPackage FileOperations.swift
[27/32] Compiling SystemPackage FilePath.swift
[28/32] Compiling SystemPackage FilePathComponentView.swift
[29/32] Compiling SystemPackage FilePathComponents.swift
[30/32] Compiling SystemPackage Util+StringArray.swift
[31/32] Compiling SystemPackage Util.swift
[32/32] Compiling SystemPackage UtilConsumers.swift
[34/72] Compiling Socket SocketOptionID.swift
[35/72] Compiling Socket SocketOptionLevel.swift
[36/72] Compiling Socket SocketProtocol.swift
[37/72] Compiling Socket IPv4Protocol.swift
[38/72] Compiling Socket IPv6Protocol.swift
[39/77] Compiling Socket CInterop.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[40/77] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[41/77] Compiling Socket Constants.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[42/77] Compiling Socket Errno.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[43/77] Compiling Socket FileChange.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[44/77] Compiling Socket FileEvent.swift
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/77] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:372:50: error: cannot find 'SOCK_STREAM' in scope
370 |
371 | @_alwaysEmitIntoClient
372 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
373 |
374 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:49: error: cannot find 'SOCK_DGRAM' in scope
373 |
374 | @_alwaysEmitIntoClient
375 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
376 |
377 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:378:47: error: cannot find 'SOCK_RAW' in scope
376 |
377 | @_alwaysEmitIntoClient
378 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
379 |
380 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:381:47: error: cannot find 'SOCK_RDM' in scope
379 |
380 | @_alwaysEmitIntoClient
381 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
382 |
383 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:384:53: error: cannot find 'SOCK_SEQPACKET' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
385 |
386 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:388:48: error: cannot find 'SOCK_DCCP' in scope
386 | #if os(Linux)
387 | @_alwaysEmitIntoClient
388 | internal var _SOCK_DCCP: CInterop.SocketType { SOCK_DCCP }
    |                                                `- error: cannot find 'SOCK_DCCP' in scope
389 |
390 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:391:52: error: cannot find 'SOCK_NONBLOCK' in scope
389 |
390 | @_alwaysEmitIntoClient
391 | internal var _SOCK_NONBLOCK: CInterop.SocketType { SOCK_NONBLOCK }
    |                                                    `- error: cannot find 'SOCK_NONBLOCK' in scope
392 |
393 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:394:51: error: cannot find 'SOCK_CLOEXEC' in scope
392 |
393 | @_alwaysEmitIntoClient
394 | internal var _SOCK_CLOEXEC: CInterop.SocketType { SOCK_CLOEXEC }
    |                                                   `- error: cannot find 'SOCK_CLOEXEC' in scope
395 | #endif
396 |
[46/77] Compiling Socket LinkLayerProtocol.swift
[47/77] Compiling Socket UnixProtocol.swift
[48/77] Compiling Socket SocketType.swift
[49/77] Compiling Socket Syscalls.swift
[50/77] Compiling Socket Util.swift
[51/77] Compiling Socket SocketDescriptor.swift
[52/77] Compiling Socket SocketFlags.swift
[53/77] Compiling Socket SocketHelpers.swift
[54/77] Compiling Socket SocketOperations.swift
[55/77] Compiling Socket SocketOption.swift
[56/77] Compiling Socket FileFlags.swift
[57/77] Compiling Socket IOControl.swift
[58/77] Compiling Socket IODirection.swift
[59/77] Compiling Socket IOOperations.swift
[60/77] Compiling Socket IOType.swift
[61/77] Compiling Socket InternetProtocol.swift
[62/77] Compiling Socket IPv4SocketAddress.swift
[63/77] Compiling Socket IPv6SocketAddress.swift
[64/77] Compiling Socket LinkLayerSocketAddress.swift
[65/77] Compiling Socket UnixSocketAddress.swift
[66/77] Compiling Socket SocketAddressFamily.swift
[67/77] Compiling Socket MessageFlags.swift
[68/77] Compiling Socket NetworkInterface.swift
[69/77] Compiling Socket NetworkOrder.swift
[70/77] Compiling Socket Poll.swift
[71/77] Compiling Socket SocketAddress.swift
[72/77] Compiling Socket Socket.swift
[73/77] Compiling Socket SocketContinuation.swift
[74/77] Compiling Socket SocketManager.swift
[75/77] Compiling Socket AsyncSocketManager.swift
[76/77] Compiling Socket CFSocketManager.swift
[77/77] Compiling Socket CInternetAddress.swift
BUILD FAILURE 6.1 linux