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 master (7c799e), with Swift 6.2 (beta) for Linux on 21 Jun 2025 13:10:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7c799e6 Bump flake inputs
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
7c799e654425d64b304a8fa11bac4d5fb05b76ed
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at master
========================================
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-4606859-2":/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/apple/swift-argument-parser.git
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/httpswift/swifter
[1/295] Fetching swiftip
[296/6345] Fetching swiftip, swifter
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.29s)
[666/6050] Fetching swifter
[3631/21430] Fetching swifter, swift-argument-parser
Fetched https://github.com/httpswift/swifter from cache (0.92s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.06s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (4.35s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (3.32s)
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
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/36] Emitting module ArgumentParserToolInfo
[8/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/37] Wrapping AST for ArgumentParserToolInfo for debugging
[11/71] Compiling ArgumentParser CompletionKind.swift
[12/71] Compiling ArgumentParser Errors.swift
[13/73] Compiling ArgumentParser Flag.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 NameSpecification.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)
[15/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[16/73] Compiling ArgumentParser ParsableCommand.swift
[17/73] Compiling ArgumentParser EnumerableFlag.swift
[18/73] Compiling ArgumentParser ExpressibleByArgument.swift
[19/73] Compiling ArgumentParser ParsableArguments.swift
[20/73] Emitting module Swifter
[21/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/73] Compiling ArgumentParser CompletionsGenerator.swift
[23/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/73] Compiling ArgumentParser Argument.swift
[26/73] Compiling ArgumentParser ArgumentHelp.swift
[27/73] Compiling ArgumentParser Option.swift
[28/73] Compiling ArgumentParser OptionGroup.swift
[29/73] Compiling ArgumentParser CommandConfiguration.swift
[30/73] Compiling SwiftIP SwiftIP.swift
[31/73] Emitting module SwiftIP
[32/74] Wrapping AST for SwiftIP for debugging
[34/74] Emitting module ArgumentParser
[35/78] Compiling ArgumentParser CollectionExtensions.swift
[36/78] Compiling ArgumentParser SequenceExtensions.swift
[37/78] Compiling ArgumentParser StringExtensions.swift
[38/78] Compiling ArgumentParser Tree.swift
[39/78] Compiling Swifter String+SHA1.swift
[40/78] Compiling Swifter WebSockets.swift
BUILD FAILURE 6.2 linux