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 SimpleSwiftServer, reference v4.4.0 (3a5533), with Swift 6.2 (beta) for Linux on 21 Jun 2025 13:11:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/SimpleSwiftServer.git
Reference: v4.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/Samasaur1/SimpleSwiftServer
 * tag               v4.4.0     -> FETCH_HEAD
HEAD is now at 3a55333 Package with Nix; bump to v4.4.0
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
3a55333070975105774e4d766f68dafae66d5423
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at v4.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
[1/295] Fetching swiftip
[288/6345] Fetching swiftip, swifter
[4713/21725] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.13s)
Fetched https://github.com/httpswift/swifter from cache (1.15s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (3.70s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.95s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (2.45s)
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
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 0.5.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/36] Emitting module Swifter
[8/38] Emitting module ArgumentParserToolInfo
[9/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/39] Wrapping AST for ArgumentParserToolInfo for debugging
[12/73] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:23:60: error: generic parameter 'Element' could not be inferred
21 |             while writeCounter < readResult {
22 |                 #if os(Linux)
23 |                     let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
   |                                                            `- error: generic parameter 'Element' could not be inferred
24 |                 #else
25 |                     let writeResult = write(target, &buffer + writeCounter, readResult - writeCounter)
[13/73] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:23:60: error: generic parameter 'Element' could not be inferred
21 |             while writeCounter < readResult {
22 |                 #if os(Linux)
23 |                     let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
   |                                                            `- error: generic parameter 'Element' could not be inferred
24 |                 #else
25 |                     let writeResult = write(target, &buffer + writeCounter, readResult - writeCounter)
[14/73] Compiling ArgumentParser CommandConfiguration.swift
[15/73] Compiling ArgumentParser EnumerableFlag.swift
[16/73] Compiling ArgumentParser Option.swift
[17/73] Compiling ArgumentParser OptionGroup.swift
[18/73] Emitting module SwiftIP
[19/73] Compiling SwiftIP SwiftIP.swift
[20/74] Compiling ArgumentParser ExpressibleByArgument.swift
[21/74] Compiling ArgumentParser ParsableArguments.swift
[23/74] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/74] Compiling ArgumentParser CompletionsGenerator.swift
[25/74] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/74] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/74] Compiling ArgumentParser Argument.swift
[28/74] Compiling ArgumentParser ArgumentHelp.swift
[29/74] Compiling ArgumentParser NameSpecification.swift
[30/74] Compiling ArgumentParser ParsedValues.swift
[31/74] Compiling ArgumentParser ParserError.swift
[32/74] Compiling ArgumentParser CompletionKind.swift
[33/74] Compiling ArgumentParser Errors.swift
[34/74] Compiling ArgumentParser Flag.swift
[34/74] Wrapping AST for SwiftIP for debugging
BUILD FAILURE 6.2 linux