Build Information
Failed to build SimpleSwiftServer, reference master (7c799e
), with Swift 6.1 for Linux on 28 Apr 2025 19:03:34 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path: $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
https://github.com/Samasaur1/SimpleSwiftServer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftip",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Samasaur1/SwiftIP"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifter",
"requirement" : {
"exact" : [
"1.4.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter"
}
],
"manifest_display_name" : "SimpleSwiftServer",
"name" : "SimpleSwiftServer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "server",
"targets" : [
"SimpleSwiftServer"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SimpleSwiftServer",
"module_type" : "SwiftTarget",
"name" : "SimpleSwiftServer",
"path" : "Sources/SimpleSwiftServer",
"product_dependencies" : [
"ArgumentParser",
"SwiftIP",
"Swifter"
],
"product_memberships" : [
"server"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
[1/6050] Fetching swifter
[1574/6345] Fetching swifter, swiftip
[4652/21295] Fetching swifter, swiftip, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.92s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.93s)
Fetched https://github.com/httpswift/swifter from cache (0.94s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (3.19s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.56s)
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.94s)
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
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/36] Emitting module Swifter
[8/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/38] Emitting module ArgumentParserToolInfo
[10/39] Wrapping AST for ArgumentParserToolInfo for debugging
[12/73] Compiling ArgumentParser Name.swift
[13/73] Compiling ArgumentParser Parsed.swift
[14/73] Compiling ArgumentParser OptionGroup.swift
[15/73] Compiling ArgumentParser CommandConfiguration.swift
[16/73] Compiling ArgumentParser EnumerableFlag.swift
[17/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/73] Compiling ArgumentParser Argument.swift
[19/73] Compiling ArgumentParser Option.swift
[20/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/73] Compiling ArgumentParser CompletionsGenerator.swift
[22/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/73] Compiling ArgumentParser NameSpecification.swift
[24/73] Compiling ArgumentParser ArgumentSet.swift
[25/73] Compiling ArgumentParser CommandParser.swift
[26/73] Compiling ArgumentParser InputOrigin.swift
[27/73] Compiling ArgumentParser ExpressibleByArgument.swift
[28/73] Compiling ArgumentParser ArgumentHelp.swift
[29/73] Compiling ArgumentParser CompletionKind.swift
[30/73] Compiling ArgumentParser Errors.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)
[31/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)
[32/73] Emitting module SwiftIP
[33/73] Compiling SwiftIP SwiftIP.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/31] Emitting module Swifter
[3/33] Emitting module SwiftIP
[4/33] Compiling SwiftIP SwiftIP.swift
[6/34] Emitting module ArgumentParserToolInfo
[7/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/35] Compiling Swifter String+File.swift
[9/35] Compiling Swifter String+Misc.swift
[9/35] Wrapping AST for SwiftIP for debugging
[12/34] Compiling Swifter Socket+File.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/34] Compiling Swifter Socket+Server.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/34] Compiling Swifter Socket.swift
[15/34] Compiling Swifter String+BASE64.swift
[16/68] Compiling ArgumentParser CompletionKind.swift
[17/68] Compiling ArgumentParser Errors.swift
[18/68] Compiling ArgumentParser Flag.swift
[19/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/68] Compiling ArgumentParser Argument.swift
[21/68] Compiling ArgumentParser ArgumentHelp.swift
[22/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/68] Compiling ArgumentParser CompletionsGenerator.swift
[24/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/68] Compiling ArgumentParser NameSpecification.swift
[26/68] Compiling ArgumentParser Option.swift
[27/68] Compiling ArgumentParser OptionGroup.swift
[28/68] Compiling ArgumentParser ArgumentDecoder.swift
[29/68] Compiling ArgumentParser ArgumentDefinition.swift
BUILD FAILURE 6.1 linux