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.0 for Linux on 5 Jan 2025 03:38:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
[1/295] Fetching swiftip
[296/6331] Fetching swiftip, swifter
[3435/18732] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/httpswift/swifter from cache (0.69s)
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.71s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (1.94s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.55s)
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.00s)
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 Swifter
[8/38] Emitting module ArgumentParserToolInfo
[9/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/39] Wrapping AST for ArgumentParserToolInfo for debugging
[12/73] Compiling ArgumentParser Flag.swift
[13/73] Compiling ArgumentParser NameSpecification.swift
[14/73] Compiling ArgumentParser Option.swift
[15/73] Compiling ArgumentParser ArgumentDecoder.swift
[16/73] Compiling ArgumentParser ArgumentDefinition.swift
[17/73] Compiling ArgumentParser ArgumentHelp.swift
[18/73] Compiling ArgumentParser CompletionKind.swift
[19/73] Compiling ArgumentParser Errors.swift
[20/73] Compiling ArgumentParser OptionGroup.swift
[21/73] Compiling ArgumentParser CommandConfiguration.swift
[22/73] Compiling ArgumentParser ParsableArguments.swift
[23/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/73] Compiling ArgumentParser ParsableCommand.swift
[25/73] Compiling ArgumentParser EnumerableFlag.swift
[26/73] Compiling ArgumentParser ExpressibleByArgument.swift
[27/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/73] Compiling ArgumentParser Argument.swift
[30/73] Compiling ArgumentParser BashCompletionsGenerator.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 CompletionsGenerator.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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/31] Emitting module SwiftIP
[3/31] Compiling SwiftIP SwiftIP.swift
[4/32] Emitting module Swifter
[6/34] Compiling Swifter String+File.swift
[7/34] Compiling Swifter String+Misc.swift
[7/34] Wrapping AST for SwiftIP for debugging
[9/34] Emitting module ArgumentParserToolInfo
[10/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/34] Compiling Swifter Socket.swift
[13/34] Compiling Swifter String+BASE64.swift
[14/34] Compiling Swifter HttpRouter.swift
[15/34] Compiling Swifter HttpServer.swift
[16/34] Compiling Swifter HttpServerIO.swift
[17/34] Compiling Swifter HttpParser.swift
[18/34] Compiling Swifter HttpRequest.swift
[19/34] Compiling Swifter HttpResponse.swift
[20/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)
[21/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)
[22/68] Emitting module ArgumentParser
[23/72] Compiling ArgumentParser UsageGenerator.swift
[24/72] Compiling ArgumentParser ParsableArguments.swift
[25/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/72] Compiling ArgumentParser Argument.swift
[27/72] Compiling ArgumentParser ArgumentHelp.swift
[28/72] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/72] Compiling ArgumentParser CompletionsGenerator.swift
[30/72] Compiling ArgumentParser FishCompletionsGenerator.swift
BUILD FAILURE 6.0 linux