The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftX, reference main (2838d8), with Swift 6.3 for Linux on 19 Apr 2026 07:36:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftxcity/swiftx.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/swiftxcity/swiftx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2838d84 Fix link to Runtime APIs documentation in README
Cloned https://github.com/swiftxcity/swiftx.git
Revision (git rev-parse @):
2838d84627fd46b2ec151434c800f0bc34ae77e4
SUCCESS checkout https://github.com/swiftxcity/swiftx.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftxcity/swiftx.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/SwiftXCity/SwiftXCore.git
Fetching https://github.com/apple/swift-log.git
[1/70] Fetching swiftxcore
[71/6705] Fetching swiftxcore, swift-log
Fetched https://github.com/SwiftXCity/SwiftXCore.git from cache (0.44s)
[399/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Computing version for https://github.com/SwiftXCity/SwiftXCore.git
Computed https://github.com/SwiftXCity/SwiftXCore.git at 1.1.0 (1.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.75s)
Creating working copy for https://github.com/SwiftXCity/SwiftXCore.git
Working copy of https://github.com/SwiftXCity/SwiftXCore.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/15] Write sources
[5/15] Write swift-version-24593BA9C3E375BF.txt
[7/43] Emitting module SwiftXCore
[8/45] Compiling Logging LogEvent.swift
[9/45] Compiling SwiftXCore kqueue_backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/socket.swift:35:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
33 |         #else
34 |         var optVal = opt
35 |         setsockopt(Int32(fd), IPPROTO_TCP, TCP_NODELAY, &optVal, socklen_t(MemoryLayout<Int32>.size))
   |                               `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
36 |         #endif
37 |     }
[10/45] Compiling SwiftXCore select_backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/socket.swift:35:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
33 |         #else
34 |         var optVal = opt
35 |         setsockopt(Int32(fd), IPPROTO_TCP, TCP_NODELAY, &optVal, socklen_t(MemoryLayout<Int32>.size))
   |                               `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
36 |         #endif
37 |     }
[11/45] Compiling SwiftXCore socket.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/socket.swift:35:31: error: cannot convert value of type 'Int' to expected argument type 'Int32'
33 |         #else
34 |         var optVal = opt
35 |         setsockopt(Int32(fd), IPPROTO_TCP, TCP_NODELAY, &optVal, socklen_t(MemoryLayout<Int32>.size))
   |                               `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
36 |         #endif
37 |     }
[12/45] Compiling Logging MetadataProvider.swift
[13/45] Emitting module Logging
[14/45] Compiling SwiftXCore runtime_info.swift
[15/45] Compiling SwiftXCore websocket_server.swift
[16/45] Compiling SwiftXCore wsapoll_backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:40:13: error: cannot find 'Darwin' in scope
38 |         #else
39 |         _ = data.withUnsafeBytes { ptr in
40 |             Darwin.send(Int32(socket.fd), ptr.baseAddress!, data.count, 0)
   |             `- error: cannot find 'Darwin' in scope
41 |         }
42 |         #endif
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:51:13: error: cannot find 'Darwin' in scope
49 |         _ = WinSDK.shutdown(s, Int32(SD_SEND))
50 |         #else
51 |         _ = Darwin.shutdown(Int32(socket.fd), SHUT_WR)
   |             `- error: cannot find 'Darwin' in scope
52 |         #endif
53 |         socket.close()
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:26:34: error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 24 |         }
 25 |         #else
 26 |         let fd = socket(AF_INET, SOCK_STREAM, 0)
    |                                  `- error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 27 |         if fd == -1 {
 28 |             fatalError("Failed to create server socket")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:68:17: error: cannot find 'Darwin' in scope
 66 |                 WinSDK.bind(SOCKET(bitPattern: Int64(serverSocket.fd)), $0, Int32(MemoryLayout<sockaddr_in>.size))
 67 |                 #else
 68 |                 Darwin.bind(Int32(serverSocket.fd), $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'Darwin' in scope
 69 |                 #endif
 70 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:80:9: error: cannot find 'Darwin' in scope
 78 |         WinSDK.listen(SOCKET(bitPattern: Int64(serverSocket.fd)), SOMAXCONN)
 79 |         #else
 80 |         Darwin.listen(Int32(serverSocket.fd), SOMAXCONN)
    |         `- error: cannot find 'Darwin' in scope
 81 |         #endif
 82 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:97:24: error: cannot find 'Darwin' in scope
 95 |         }
 96 |         #else
 97 |         let clientFd = Darwin.accept(Int32(serverSocket.fd), &clientAddr, &clientAddrLen)
    |                        `- error: cannot find 'Darwin' in scope
 98 |         if clientFd == -1 {
 99 |             return nil
[17/45] Compiling SwiftXCore connection.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:40:13: error: cannot find 'Darwin' in scope
38 |         #else
39 |         _ = data.withUnsafeBytes { ptr in
40 |             Darwin.send(Int32(socket.fd), ptr.baseAddress!, data.count, 0)
   |             `- error: cannot find 'Darwin' in scope
41 |         }
42 |         #endif
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:51:13: error: cannot find 'Darwin' in scope
49 |         _ = WinSDK.shutdown(s, Int32(SD_SEND))
50 |         #else
51 |         _ = Darwin.shutdown(Int32(socket.fd), SHUT_WR)
   |             `- error: cannot find 'Darwin' in scope
52 |         #endif
53 |         socket.close()
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:26:34: error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 24 |         }
 25 |         #else
 26 |         let fd = socket(AF_INET, SOCK_STREAM, 0)
    |                                  `- error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 27 |         if fd == -1 {
 28 |             fatalError("Failed to create server socket")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:68:17: error: cannot find 'Darwin' in scope
 66 |                 WinSDK.bind(SOCKET(bitPattern: Int64(serverSocket.fd)), $0, Int32(MemoryLayout<sockaddr_in>.size))
 67 |                 #else
 68 |                 Darwin.bind(Int32(serverSocket.fd), $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'Darwin' in scope
 69 |                 #endif
 70 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:80:9: error: cannot find 'Darwin' in scope
 78 |         WinSDK.listen(SOCKET(bitPattern: Int64(serverSocket.fd)), SOMAXCONN)
 79 |         #else
 80 |         Darwin.listen(Int32(serverSocket.fd), SOMAXCONN)
    |         `- error: cannot find 'Darwin' in scope
 81 |         #endif
 82 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:97:24: error: cannot find 'Darwin' in scope
 95 |         }
 96 |         #else
 97 |         let clientFd = Darwin.accept(Int32(serverSocket.fd), &clientAddr, &clientAddrLen)
    |                        `- error: cannot find 'Darwin' in scope
 98 |         if clientFd == -1 {
 99 |             return nil
[18/45] Compiling SwiftXCore listener.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:40:13: error: cannot find 'Darwin' in scope
38 |         #else
39 |         _ = data.withUnsafeBytes { ptr in
40 |             Darwin.send(Int32(socket.fd), ptr.baseAddress!, data.count, 0)
   |             `- error: cannot find 'Darwin' in scope
41 |         }
42 |         #endif
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/connection.swift:51:13: error: cannot find 'Darwin' in scope
49 |         _ = WinSDK.shutdown(s, Int32(SD_SEND))
50 |         #else
51 |         _ = Darwin.shutdown(Int32(socket.fd), SHUT_WR)
   |             `- error: cannot find 'Darwin' in scope
52 |         #endif
53 |         socket.close()
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:26:34: error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 24 |         }
 25 |         #else
 26 |         let fd = socket(AF_INET, SOCK_STREAM, 0)
    |                                  `- error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
 27 |         if fd == -1 {
 28 |             fatalError("Failed to create server socket")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:68:17: error: cannot find 'Darwin' in scope
 66 |                 WinSDK.bind(SOCKET(bitPattern: Int64(serverSocket.fd)), $0, Int32(MemoryLayout<sockaddr_in>.size))
 67 |                 #else
 68 |                 Darwin.bind(Int32(serverSocket.fd), $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'Darwin' in scope
 69 |                 #endif
 70 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:80:9: error: cannot find 'Darwin' in scope
 78 |         WinSDK.listen(SOCKET(bitPattern: Int64(serverSocket.fd)), SOMAXCONN)
 79 |         #else
 80 |         Darwin.listen(Int32(serverSocket.fd), SOMAXCONN)
    |         `- error: cannot find 'Darwin' in scope
 81 |         #endif
 82 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/net/listener.swift:97:24: error: cannot find 'Darwin' in scope
 95 |         }
 96 |         #else
 97 |         let clientFd = Darwin.accept(Int32(serverSocket.fd), &clientAddr, &clientAddrLen)
    |                        `- error: cannot find 'Darwin' in scope
 98 |         if clientFd == -1 {
 99 |             return nil
[19/45] Compiling SwiftXCore backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:11:21: error: cannot find 'epoll_create1' in scope
 9 |
10 |     public init() {
11 |         self.epfd = epoll_create1(0)
   |                     `- error: cannot find 'epoll_create1' in scope
12 |         if epfd == -1 {
13 |             fatalError("Failed to create epoll")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:18:21: error: cannot find 'epoll_event' in scope
16 |
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
   |                     `- error: cannot find 'epoll_event' in scope
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
20 |         event.data.fd = Int32(socket.fd)
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:31: error: cannot find 'EPOLLIN' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                               `- error: cannot find 'EPOLLIN' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:58: error: cannot find 'EPOLLET' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                                                          `- error: cannot find 'EPOLLET' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:9: error: cannot find 'epoll_ctl' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |         `- error: cannot find 'epoll_ctl' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:25: error: cannot find 'EPOLL_CTL_ADD' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |                         `- error: cannot find 'EPOLL_CTL_ADD' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:9: error: cannot find 'epoll_ctl' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |         `- error: cannot find 'epoll_ctl' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:25: error: cannot find 'EPOLL_CTL_DEL' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                         `- error: cannot find 'EPOLL_CTL_DEL' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:58: error: 'nil' requires a contextual type
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                                                          `- error: 'nil' requires a contextual type
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:23: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                       `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:47: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                                               `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:22: error: cannot call value of non-function type '[Any]'
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                      `- error: cannot call value of non-function type '[Any]'
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:33:21: error: cannot find 'epoll_wait' in scope
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
   |                     `- error: cannot find 'epoll_wait' in scope
34 |
35 |         var results: [IOEvent] = []
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:40:43: error: cannot find 'EPOLLIN' in scope
38 |             let fd = event.data.fd
39 |             if let socket = socketMap[fd] {
40 |                 if (event.events & UInt32(EPOLLIN.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLIN' in scope
41 |                     results.append(.read(socket))
42 |                 }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:43:43: error: cannot find 'EPOLLOUT' in scope
41 |                     results.append(.read(socket))
42 |                 }
43 |                 if (event.events & UInt32(EPOLLOUT.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLOUT' in scope
44 |                     results.append(.write(socket))
45 |                 }
[20/45] Compiling SwiftXCore epoll_backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:11:21: error: cannot find 'epoll_create1' in scope
 9 |
10 |     public init() {
11 |         self.epfd = epoll_create1(0)
   |                     `- error: cannot find 'epoll_create1' in scope
12 |         if epfd == -1 {
13 |             fatalError("Failed to create epoll")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:18:21: error: cannot find 'epoll_event' in scope
16 |
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
   |                     `- error: cannot find 'epoll_event' in scope
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
20 |         event.data.fd = Int32(socket.fd)
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:31: error: cannot find 'EPOLLIN' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                               `- error: cannot find 'EPOLLIN' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:58: error: cannot find 'EPOLLET' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                                                          `- error: cannot find 'EPOLLET' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:9: error: cannot find 'epoll_ctl' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |         `- error: cannot find 'epoll_ctl' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:25: error: cannot find 'EPOLL_CTL_ADD' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |                         `- error: cannot find 'EPOLL_CTL_ADD' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:9: error: cannot find 'epoll_ctl' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |         `- error: cannot find 'epoll_ctl' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:25: error: cannot find 'EPOLL_CTL_DEL' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                         `- error: cannot find 'EPOLL_CTL_DEL' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:58: error: 'nil' requires a contextual type
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                                                          `- error: 'nil' requires a contextual type
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:23: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                       `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:47: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                                               `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:22: error: cannot call value of non-function type '[Any]'
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                      `- error: cannot call value of non-function type '[Any]'
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:33:21: error: cannot find 'epoll_wait' in scope
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
   |                     `- error: cannot find 'epoll_wait' in scope
34 |
35 |         var results: [IOEvent] = []
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:40:43: error: cannot find 'EPOLLIN' in scope
38 |             let fd = event.data.fd
39 |             if let socket = socketMap[fd] {
40 |                 if (event.events & UInt32(EPOLLIN.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLIN' in scope
41 |                     results.append(.read(socket))
42 |                 }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:43:43: error: cannot find 'EPOLLOUT' in scope
41 |                     results.append(.read(socket))
42 |                 }
43 |                 if (event.events & UInt32(EPOLLOUT.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLOUT' in scope
44 |                     results.append(.write(socket))
45 |                 }
[21/45] Compiling SwiftXCore iocp_backend.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:11:21: error: cannot find 'epoll_create1' in scope
 9 |
10 |     public init() {
11 |         self.epfd = epoll_create1(0)
   |                     `- error: cannot find 'epoll_create1' in scope
12 |         if epfd == -1 {
13 |             fatalError("Failed to create epoll")
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:18:21: error: cannot find 'epoll_event' in scope
16 |
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
   |                     `- error: cannot find 'epoll_event' in scope
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
20 |         event.data.fd = Int32(socket.fd)
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:31: error: cannot find 'EPOLLIN' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                               `- error: cannot find 'EPOLLIN' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:19:58: error: cannot find 'EPOLLET' in scope
17 |     public func register(_ socket: Socket) {
18 |         var event = epoll_event()
19 |         event.events = UInt32(EPOLLIN.rawValue) | UInt32(EPOLLET.rawValue)
   |                                                          `- error: cannot find 'EPOLLET' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:9: error: cannot find 'epoll_ctl' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |         `- error: cannot find 'epoll_ctl' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:22:25: error: cannot find 'EPOLL_CTL_ADD' in scope
20 |         event.data.fd = Int32(socket.fd)
21 |
22 |         epoll_ctl(epfd, EPOLL_CTL_ADD, Int32(socket.fd), &event)
   |                         `- error: cannot find 'EPOLL_CTL_ADD' in scope
23 |         socketMap[Int32(socket.fd)] = socket
24 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:9: error: cannot find 'epoll_ctl' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |         `- error: cannot find 'epoll_ctl' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:25: error: cannot find 'EPOLL_CTL_DEL' in scope
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                         `- error: cannot find 'EPOLL_CTL_DEL' in scope
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:27:58: error: 'nil' requires a contextual type
25 |
26 |     public func unregister(_ socket: Socket) {
27 |         epoll_ctl(epfd, EPOLL_CTL_DEL, Int32(socket.fd), nil)
   |                                                          `- error: 'nil' requires a contextual type
28 |         socketMap.removeValue(forKey: Int32(socket.fd))
29 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:23: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                       `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:47: error: cannot find 'epoll_event' in scope
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                                               `- error: cannot find 'epoll_event' in scope
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:32:22: error: cannot call value of non-function type '[Any]'
30 |
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
   |                      `- error: cannot call value of non-function type '[Any]'
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
34 |
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:33:21: error: cannot find 'epoll_wait' in scope
31 |     public func poll(timeout: Int) -> [IOEvent] {
32 |         var events = [epoll_event](repeating: epoll_event(), count: 1024)
33 |         let count = epoll_wait(epfd, &events, 1024, Int32(timeout))
   |                     `- error: cannot find 'epoll_wait' in scope
34 |
35 |         var results: [IOEvent] = []
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:40:43: error: cannot find 'EPOLLIN' in scope
38 |             let fd = event.data.fd
39 |             if let socket = socketMap[fd] {
40 |                 if (event.events & UInt32(EPOLLIN.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLIN' in scope
41 |                     results.append(.read(socket))
42 |                 }
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/epoll_backend.swift:43:43: error: cannot find 'EPOLLOUT' in scope
41 |                     results.append(.read(socket))
42 |                 }
43 |                 if (event.events & UInt32(EPOLLOUT.rawValue)) != 0 {
   |                                           `- error: cannot find 'EPOLLOUT' in scope
44 |                     results.append(.write(socket))
45 |                 }
[22/45] Compiling SwiftXCore SwiftXCore.swift
[23/45] Compiling SwiftXCore byte_buffer.swift
[24/45] Compiling SwiftXCore encoder.swift
[25/45] Compiling SwiftXCore task.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/runtime/worker.swift:121:20: error: cannot find 'Darwin' in scope
119 |             return WinSDK.recv(s, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: Int8.self), Int32(capacity), 0)
120 |             #else
121 |             return Darwin.recv(Int32(socket.fd), ptr, capacity, 0)
    |                    `- error: cannot find 'Darwin' in scope
122 |             #endif
123 |         }
[26/45] Compiling SwiftXCore worker.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/runtime/worker.swift:121:20: error: cannot find 'Darwin' in scope
119 |             return WinSDK.recv(s, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: Int8.self), Int32(capacity), 0)
120 |             #else
121 |             return Darwin.recv(Int32(socket.fd), ptr, capacity, 0)
    |                    `- error: cannot find 'Darwin' in scope
122 |             #endif
123 |         }
[27/45] Compiling SwiftXCore config.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/runtime/worker.swift:121:20: error: cannot find 'Darwin' in scope
119 |             return WinSDK.recv(s, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: Int8.self), Int32(capacity), 0)
120 |             #else
121 |             return Darwin.recv(Int32(socket.fd), ptr, capacity, 0)
    |                    `- error: cannot find 'Darwin' in scope
122 |             #endif
123 |         }
[28/45] Compiling SwiftXCore http_parser.swift
[29/45] Compiling SwiftXCore request.swift
[30/45] Compiling SwiftXCore response.swift
[31/45] Compiling SwiftXCore radix_router.swift
[32/45] Compiling SwiftXCore queue.swift
[33/45] Compiling SwiftXCore scheduler.swift
[34/45] Compiling Logging LogHandler.swift
[35/45] Compiling Logging Locks.swift
BUILD FAILURE 6.3 linux