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 tuzuru, reference 0.2.0 (6bdc14), with Swift 6.1 for Android on 11 Sep 2025 03:24:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ainame/tuzuru.git
Reference: 0.2.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/ainame/tuzuru
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 6bdc14e Bump version to 0.2.0
Cloned https://github.com/ainame/tuzuru.git
Revision (git rev-parse @):
6bdc14e2420b5d4de9d52c796dd9257a805f27a3
SUCCESS checkout https://github.com/ainame/tuzuru.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ainame/tuzuru.git
https://github.com/ainame/tuzuru.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2269] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.88s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-system
[1/1855] Fetching swift-mustache
[1856/6792] Fetching swift-mustache, swift-system
[6793/13660] Fetching swift-mustache, swift-system, swift-markdown
[8236/29574] Fetching swift-mustache, swift-system, swift-markdown, swift-argument-parser
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.72s)
[8390/27719] Fetching swift-system, swift-markdown, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.73s)
[3728/22782] Fetching swift-markdown, swift-argument-parser
[8676/33925] Fetching swift-markdown, swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.25s)
[13666/18011] Fetching swift-markdown, yams
Fetched https://github.com/swiftlang/swift-markdown.git from cache (2.09s)
Fetched https://github.com/jpsim/Yams.git from cache (2.13s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (3.47s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.1.0 (0.86s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.6.0 (2.31s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18194] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.35s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.1 (1.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.56s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (0.62s)
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.0.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (e15f875)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.1.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/70] Write sources
[12/70] Copying templates
[12/70] Copying assets
[14/70] Compiling CAtomic CAtomic.c
[15/70] Compiling reader.c
[16/70] Compiling CSystem shims.c
[17/70] Compiling cmark-gfm-extensions tasklist.c
[18/70] Compiling cmark-gfm-extensions tagfilter.c
[19/70] Compiling cmark-gfm-extensions strikethrough.c
[20/70] Compiling api.c
[20/70] Compiling parser.c
[22/70] Compiling cmark-gfm-extensions ext_scanners.c
[23/70] Compiling cmark-gfm-extensions table.c
[24/70] Compiling cmark-gfm xml.c
[25/70] Compiling cmark-gfm-extensions core-extensions.c
[26/70] Compiling emitter.c
[27/70] Compiling cmark-gfm-extensions autolink.c
[28/70] Compiling cmark-gfm syntax_extension.c
[29/70] Compiling cmark-gfm render.c
[30/70] Write swift-version-24593BA9C3E375BF.txt
[31/70] Compiling cmark-gfm registry.c
[32/70] Compiling cmark-gfm plugin.c
[33/70] Compiling cmark-gfm references.c
[34/70] Compiling cmark-gfm plaintext.c
[35/70] Compiling cmark-gfm map.c
[36/70] Compiling cmark-gfm node.c
[37/70] Compiling cmark-gfm utf8.c
[38/70] Compiling cmark-gfm man.c
[39/76] Compiling cmark-gfm linked_list.c
[40/102] Compiling cmark-gfm iterator.c
[41/110] Compiling cmark-gfm latex.c
[42/123] Compiling cmark-gfm html.c
[43/123] Compiling cmark-gfm houdini_html_e.c
[44/123] Compiling cmark-gfm houdini_html_u.c
[45/123] Compiling cmark-gfm houdini_href_e.c
[46/123] Compiling cmark-gfm scanners.c
[47/123] Compiling cmark-gfm footnotes.c
[48/123] Compiling cmark-gfm inlines.c
[49/123] Compiling cmark-gfm cmark_ctype.c
[50/123] Compiling cmark-gfm buffer.c
[51/123] Compiling cmark-gfm cmark.c
[52/123] Compiling cmark-gfm commonmark.c
[53/123] Compiling cmark-gfm arena.c
[54/123] Compiling cmark-gfm blocks.c
[55/123] Compiling writer.c
[56/123] Compiling _SubprocessCShims process_shims.c
[57/185] Compiling scanner.c
[59/205] Emitting module SystemPackage
[60/208] Emitting module Mustache
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/210] Compiling Yams Decoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/210] Compiling Yams Emitter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/210] Compiling Yams Encoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/210] Compiling Yams Node.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/210] Compiling Yams Parser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/210] Compiling SystemPackage Util+StringArray.swift
[67/210] Compiling SystemPackage Util.swift
[68/210] Compiling SystemPackage UtilConsumers.swift
[69/210] Emitting module ArgumentParserToolInfo
[70/210] Compiling ArgumentParserToolInfo ToolInfo.swift
[71/211] Compiling Yams Node.Mapping.swift
[72/211] Compiling Yams Node.Scalar.swift
[73/211] Compiling Yams Node.Sequence.swift
[75/211] Compiling Markdown CodeBlock.swift
[76/211] Compiling Markdown HTMLBlock.swift
[77/211] Compiling Markdown Heading.swift
[80/211] Compiling Yams Mark.swift
[81/211] Compiling Yams Node.Alias.swift
[82/211] Compiling Yams AliasDereferencingStrategy.swift
[83/211] Compiling Yams Anchor.swift
[84/211] Compiling Yams Constructor.swift
[87/211] Compiling Markdown BasicBlockContainer.swift
[88/211] Compiling Markdown BasicInlineContainer.swift
[89/211] Compiling Markdown BlockContainer.swift
[90/211] Compiling Markdown BlockMarkup.swift
[91/211] Compiling Markdown InlineContainer.swift
[92/211] Compiling Markdown InlineMarkup.swift
[93/211] Compiling Markdown ListItemContainer.swift
[94/211] Compiling Markdown AtomicCounter.swift
[94/219] Wrapping AST for ArgumentParserToolInfo for debugging
[96/219] Compiling Markdown Strikethrough.swift
[97/219] Compiling Markdown Strong.swift
[98/219] Compiling Markdown CustomInline.swift
[99/219] Compiling Markdown InlineCode.swift
[100/219] Compiling Markdown InlineHTML.swift
[101/219] Compiling Markdown LineBreak.swift
[102/219] Compiling Markdown SoftBreak.swift
[103/219] Compiling Markdown SymbolLink.swift
[104/219] Compiling Markdown Text.swift
[105/219] Compiling Mustache Template.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/219] Compiling Mustache Transform.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/263] Compiling ArgumentParser NameSpecification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/263] Compiling ArgumentParser Option.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/265] Compiling ArgumentParser OptionGroup.swift
[110/265] Compiling ArgumentParser AsyncParsableCommand.swift
[111/265] Compiling ArgumentParser CommandConfiguration.swift
[112/265] Compiling ArgumentParser CommandGroup.swift
[113/265] Compiling ArgumentParser EnumerableFlag.swift
[114/265] Compiling ArgumentParser ExpressibleByArgument.swift
[116/271] Compiling ArgumentParser ArgumentVisibility.swift
[117/271] Compiling ArgumentParser CompletionKind.swift
[118/271] Compiling ArgumentParser Errors.swift
[119/271] Compiling ArgumentParser Flag.swift
[122/271] Compiling Yams YamlError.swift
[123/271] Compiling ArgumentParser ParsedValues.swift
[124/271] Compiling ArgumentParser ParserError.swift
[125/271] Compiling ArgumentParser ParsableArguments.swift
[126/271] Compiling ArgumentParser ParsableCommand.swift
[127/272] Wrapping AST for SystemPackage for debugging
[129/272] Compiling ToyHttpServer HttpModels.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[130/272] Emitting module ToyHttpServer
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[133/272] Compiling ToyHttpServer ToyHttpServer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ToyHttpServer/ToyHttpServer.swift:60:9: error: function is unused
 58 |         print("🛑 Press Ctrl+C to stop")
 59 |
 60 |         signal(SIGINT) { _ in exit(0) }
    |         `- error: function is unused
 61 |
 62 |         await withTaskGroup(of: Void.self) { group in
[134/285] Compiling ToyHttpServer HttpParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[135/285] Compiling ToyHttpServer SocketAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:50:9: error: cannot find 'cclose' in scope
 48 |
 49 |     func close() {
 50 |         cclose(fileDescriptor)
    |         `- error: cannot find 'cclose' in scope
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:54:9: error: cannot find 'crecv' in scope
 52 |
 53 |     func recv(_ buffer: UnsafeMutablePointer<UInt8>, _ length: Int) -> Int {
 54 |         crecv(fileDescriptor, buffer, length, 0)
    |         `- error: cannot find 'crecv' in scope
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:59:9: error: cannot find 'csend' in scope
 57 |     @discardableResult
 58 |     func send(_ buffer: UnsafeRawPointer?, _ length: Int) -> Int {
 59 |         csend(fileDescriptor, buffer, length, 0)
    |         `- error: cannot find 'csend' in scope
 60 |     }
 61 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:28: error: cannot find 'csocket' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                            `- error: cannot find 'csocket' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:36: error: cannot find 'AF_INET' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                                    `- error: cannot find 'AF_INET' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:45: error: cannot find 'SOCK_STREAM_VALUE' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                                             `- error: cannot find 'SOCK_STREAM_VALUE' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:80:17: error: cannot find 'csetsockopt' in scope
 78 |         // setsockopt expects a raw pointer; take address safely.
 79 |         withUnsafePointer(to: &reuseAddr) { ptr in
 80 |             _ = csetsockopt(
    |                 `- error: cannot find 'csetsockopt' in scope
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:82:17: error: cannot find 'SOL_SOCKET' in scope
 80 |             _ = csetsockopt(
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
    |                 `- error: cannot find 'SOL_SOCKET' in scope
 83 |                 SO_REUSEADDR,
 84 |                 UnsafeMutableRawPointer(mutating: ptr),
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:83:17: error: cannot find 'SO_REUSEADDR' in scope
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
 83 |                 SO_REUSEADDR,
    |                 `- error: cannot find 'SO_REUSEADDR' in scope
 84 |                 UnsafeMutableRawPointer(mutating: ptr),
 85 |                 socklen_t(MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:89:26: error: cannot find 'sockaddr_in' in scope
 87 |         }
 88 |
 89 |         var serverAddr = sockaddr_in()
    |                          `- error: cannot find 'sockaddr_in' in scope
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:90:33: error: cannot find 'sa_family_t' in scope
 88 |
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
    |                                 `- error: cannot find 'sa_family_t' in scope
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:90:45: error: cannot find 'AF_INET' in scope
 88 |
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
    |                                             `- error: cannot find 'AF_INET' in scope
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:91:31: error: cannot find 'in_port_t' in scope
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
    |                               `- error: cannot find 'in_port_t' in scope
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
 93 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:92:38: error: cannot find 'INADDR_ANY' in scope
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
    |                                      `- error: cannot find 'INADDR_ANY' in scope
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:95:38: error: cannot find 'sockaddr' in scope
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                                      `- error: cannot find 'sockaddr' in scope
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
 97 |             }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:96:17: error: cannot find 'cbind' in scope
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'cbind' in scope
 97 |             }
 98 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:96:64: error: cannot find type 'sockaddr_in' in scope
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                                `- error: cannot find type 'sockaddr_in' in scope
 97 |             }
 98 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:95:16: error: generic parameter 'T' could not be inferred
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                `- error: generic parameter 'T' could not be inferred
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
 97 |             }
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:101:13: error: cannot find 'cclose' in scope
 99 |
100 |         guard bindResult == 0 else {
101 |             cclose(serverSocket)
    |             `- error: cannot find 'cclose' in scope
102 |             throw TinyHttpServerError.bindFailed
103 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:105:15: error: cannot find 'clisten' in scope
103 |         }
104 |
105 |         guard clisten(serverSocket, 5) == 0 else {
    |               `- error: cannot find 'clisten' in scope
106 |             cclose(serverSocket)
107 |             throw TinyHttpServerError.listenFailed
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:106:13: error: cannot find 'cclose' in scope
104 |
105 |         guard clisten(serverSocket, 5) == 0 else {
106 |             cclose(serverSocket)
    |             `- error: cannot find 'cclose' in scope
107 |             throw TinyHttpServerError.listenFailed
108 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:114:26: error: cannot find 'sockaddr_in' in scope
112 |
113 |     static func accept(_ serverSocket: Socket) -> Socket? {
114 |         var clientAddr = sockaddr_in()
    |                          `- error: cannot find 'sockaddr_in' in scope
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:115:53: error: cannot find type 'sockaddr_in' in scope
113 |     static func accept(_ serverSocket: Socket) -> Socket? {
114 |         var clientAddr = sockaddr_in()
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                                     `- error: cannot find type 'sockaddr_in' in scope
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:117:38: error: cannot find 'sockaddr' in scope
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                                      `- error: cannot find 'sockaddr' in scope
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
119 |             }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:118:17: error: cannot find 'caccept' in scope
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
    |                 `- error: cannot find 'caccept' in scope
119 |             }
120 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:117:16: error: generic parameter 'T' could not be inferred
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                `- error: generic parameter 'T' could not be inferred
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
119 |             }
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
[136/285] Compiling Subprocess Configuration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[137/285] Compiling Subprocess Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[138/285] Compiling Subprocess Execution.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[143/294] Compiling Subprocess Subprocess+Linux.swift
[144/294] Compiling Subprocess Subprocess+Unix.swift
[145/294] Compiling Subprocess Subprocess+Windows.swift
[146/294] Compiling Subprocess Result.swift
[147/294] Compiling Subprocess Span+Subprocess.swift
[148/294] Compiling Subprocess Input+Foundation.swift
[149/294] Compiling Subprocess API.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/294] Compiling Subprocess AsyncBufferSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/294] Compiling Subprocess Buffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[152/294] Compiling Subprocess Input.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[153/294] Compiling Subprocess Output.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[154/295] Compiling ArgumentParser Tree.swift
[155/295] Compiling ArgumentParser CodingKeyValidator.swift
[156/295] Compiling ArgumentParser NonsenseFlagsValidator.swift
[157/295] Compiling ArgumentParser ParsableArgumentsValidation.swift
[158/295] Compiling ArgumentParser PositionalArgumentsValidator.swift
[159/295] Compiling ArgumentParser UniqueNamesValidator.swift
[160/295] Compiling ArgumentParser CollectionExtensions.swift
[161/295] Compiling ArgumentParser Mutex.swift
[162/295] Compiling ArgumentParser Platform.swift
[163/295] Compiling ArgumentParser SequenceExtensions.swift
[164/295] Compiling ArgumentParser StringExtensions.swift
[165/295] Compiling ArgumentParser SwiftExtensions.swift
[166/295] Compiling Subprocess Output+Foundation.swift
[167/295] Compiling Subprocess Span+SubprocessFoundation.swift
[168/295] Compiling ArgumentParser Name.swift
[169/295] Compiling ArgumentParser Parsed.swift
[172/295] Emitting module Yams
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write swift-version-24593BA9C3E375BF.txt
[4/150] Compiling Markdown TableRow.swift
[5/150] Compiling Markdown Replacement.swift
[6/152] Compiling Markdown LiteralMarkup.swift
[7/152] Compiling Markdown Markup.swift
[8/152] Compiling Markdown MarkupChildren.swift
[9/152] Compiling Markdown MarkupData.swift
[10/152] Compiling Markdown PlainTextConvertibleMarkup.swift
[11/152] Compiling Markdown RawMarkup.swift
[12/152] Compiling ToyHttpServer ToyHttpServer.swift
/host/spi-builder-workspace/Sources/ToyHttpServer/ToyHttpServer.swift:60:9: error: function is unused
 58 |         print("🛑 Press Ctrl+C to stop")
 59 |
 60 |         signal(SIGINT) { _ in exit(0) }
    |         `- error: function is unused
 61 |
 62 |         await withTaskGroup(of: Void.self) { group in
[13/152] Compiling Markdown SourceLocation.swift
[14/152] Compiling Markdown Emphasis.swift
[15/152] Compiling Markdown ChildIndexPath.swift
[16/152] Compiling Markdown DirectiveArgument.swift
[17/152] Compiling Markdown Document.swift
[18/152] Emitting module Mustache
[19/152] Compiling ToyHttpServer SocketAPI.swift
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:50:9: error: cannot find 'cclose' in scope
 48 |
 49 |     func close() {
 50 |         cclose(fileDescriptor)
    |         `- error: cannot find 'cclose' in scope
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:54:9: error: cannot find 'crecv' in scope
 52 |
 53 |     func recv(_ buffer: UnsafeMutablePointer<UInt8>, _ length: Int) -> Int {
 54 |         crecv(fileDescriptor, buffer, length, 0)
    |         `- error: cannot find 'crecv' in scope
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:59:9: error: cannot find 'csend' in scope
 57 |     @discardableResult
 58 |     func send(_ buffer: UnsafeRawPointer?, _ length: Int) -> Int {
 59 |         csend(fileDescriptor, buffer, length, 0)
    |         `- error: cannot find 'csend' in scope
 60 |     }
 61 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:28: error: cannot find 'csocket' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                            `- error: cannot find 'csocket' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:36: error: cannot find 'AF_INET' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                                    `- error: cannot find 'AF_INET' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:74:45: error: cannot find 'SOCK_STREAM_VALUE' in scope
 72 |
 73 |     static func createServerSocket(port: Int) throws -> Socket {
 74 |         let serverSocket = csocket(AF_INET, SOCK_STREAM_VALUE, 0)
    |                                             `- error: cannot find 'SOCK_STREAM_VALUE' in scope
 75 |         guard serverSocket != -1 else { throw TinyHttpServerError.socketCreationFailed }
 76 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:80:17: error: cannot find 'csetsockopt' in scope
 78 |         // setsockopt expects a raw pointer; take address safely.
 79 |         withUnsafePointer(to: &reuseAddr) { ptr in
 80 |             _ = csetsockopt(
    |                 `- error: cannot find 'csetsockopt' in scope
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:82:17: error: cannot find 'SOL_SOCKET' in scope
 80 |             _ = csetsockopt(
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
    |                 `- error: cannot find 'SOL_SOCKET' in scope
 83 |                 SO_REUSEADDR,
 84 |                 UnsafeMutableRawPointer(mutating: ptr),
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:83:17: error: cannot find 'SO_REUSEADDR' in scope
 81 |                 serverSocket,
 82 |                 SOL_SOCKET,
 83 |                 SO_REUSEADDR,
    |                 `- error: cannot find 'SO_REUSEADDR' in scope
 84 |                 UnsafeMutableRawPointer(mutating: ptr),
 85 |                 socklen_t(MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:89:26: error: cannot find 'sockaddr_in' in scope
 87 |         }
 88 |
 89 |         var serverAddr = sockaddr_in()
    |                          `- error: cannot find 'sockaddr_in' in scope
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:90:33: error: cannot find 'sa_family_t' in scope
 88 |
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
    |                                 `- error: cannot find 'sa_family_t' in scope
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:90:45: error: cannot find 'AF_INET' in scope
 88 |
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
    |                                             `- error: cannot find 'AF_INET' in scope
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:91:31: error: cannot find 'in_port_t' in scope
 89 |         var serverAddr = sockaddr_in()
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
    |                               `- error: cannot find 'in_port_t' in scope
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
 93 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:92:38: error: cannot find 'INADDR_ANY' in scope
 90 |         serverAddr.sin_family = sa_family_t(AF_INET)
 91 |         serverAddr.sin_port = in_port_t(port).bigEndian
 92 |         serverAddr.sin_addr.s_addr = INADDR_ANY
    |                                      `- error: cannot find 'INADDR_ANY' in scope
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:95:38: error: cannot find 'sockaddr' in scope
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                                      `- error: cannot find 'sockaddr' in scope
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
 97 |             }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:96:17: error: cannot find 'cbind' in scope
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'cbind' in scope
 97 |             }
 98 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:96:64: error: cannot find type 'sockaddr_in' in scope
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                                `- error: cannot find type 'sockaddr_in' in scope
 97 |             }
 98 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:95:16: error: generic parameter 'T' could not be inferred
 93 |
 94 |         let bindResult = withUnsafePointer(to: &serverAddr) {
 95 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                `- error: generic parameter 'T' could not be inferred
 96 |                 cbind(serverSocket, $0, socklen_t(MemoryLayout<sockaddr_in>.size))
 97 |             }
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:101:13: error: cannot find 'cclose' in scope
 99 |
100 |         guard bindResult == 0 else {
101 |             cclose(serverSocket)
    |             `- error: cannot find 'cclose' in scope
102 |             throw TinyHttpServerError.bindFailed
103 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:105:15: error: cannot find 'clisten' in scope
103 |         }
104 |
105 |         guard clisten(serverSocket, 5) == 0 else {
    |               `- error: cannot find 'clisten' in scope
106 |             cclose(serverSocket)
107 |             throw TinyHttpServerError.listenFailed
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:106:13: error: cannot find 'cclose' in scope
104 |
105 |         guard clisten(serverSocket, 5) == 0 else {
106 |             cclose(serverSocket)
    |             `- error: cannot find 'cclose' in scope
107 |             throw TinyHttpServerError.listenFailed
108 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:114:26: error: cannot find 'sockaddr_in' in scope
112 |
113 |     static func accept(_ serverSocket: Socket) -> Socket? {
114 |         var clientAddr = sockaddr_in()
    |                          `- error: cannot find 'sockaddr_in' in scope
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:115:53: error: cannot find type 'sockaddr_in' in scope
113 |     static func accept(_ serverSocket: Socket) -> Socket? {
114 |         var clientAddr = sockaddr_in()
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                                     `- error: cannot find type 'sockaddr_in' in scope
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:117:38: error: cannot find 'sockaddr' in scope
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                                      `- error: cannot find 'sockaddr' in scope
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
119 |             }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:118:17: error: cannot find 'caccept' in scope
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
    |                 `- error: cannot find 'caccept' in scope
119 |             }
120 |         }
/host/spi-builder-workspace/Sources/ToyHttpServer/SocketAPI.swift:117:16: error: generic parameter 'T' could not be inferred
115 |         var clientAddrSize = socklen_t(MemoryLayout<sockaddr_in>.size)
116 |         let clientSocket = withUnsafeMutablePointer(to: &clientAddr) {
117 |             $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
    |                `- error: generic parameter 'T' could not be inferred
118 |                 caccept(serverSocket.fileDescriptor, $0, &clientAddrSize)
119 |             }
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
[20/152] Emitting module ToyHttpServer
[21/152] Compiling ToyHttpServer HttpModels.swift
[22/152] Compiling ToyHttpServer HttpParser.swift
[23/152] Compiling Markdown TableCellContainer.swift
[24/152] Compiling Markdown TableHead.swift
[25/152] Compiling Markdown Image.swift
[26/152] Compiling Markdown InlineAttributes.swift
[27/152] Compiling Mustache Template.swift
[28/152] Compiling Mustache Transform.swift
[29/152] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android