The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SimpleSwiftServer, reference v4.4.0 (3a5533), with Swift 6.1 for Linux on 28 Apr 2025 19:03:53 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.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: 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.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-0":/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/httpswift/swifter
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Samasaur1/SwiftIP
[1/295] Fetching swiftip
[296/6345] Fetching swiftip, swifter
[3805/21295] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/httpswift/swifter from cache (0.87s)
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.96s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.97s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (3.38s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.59s)
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.55s)
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 ArgumentDecoder.swift
[13/73] Compiling ArgumentParser ArgumentDefinition.swift
[14/73] Compiling ArgumentParser ExpressibleByArgument.swift
[15/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/73] Compiling ArgumentParser CompletionsGenerator.swift
[17/73] Compiling ArgumentParser Flag.swift
[18/73] Compiling ArgumentParser NameSpecification.swift
[19/73] Compiling ArgumentParser Option.swift
[20/73] Compiling ArgumentParser OptionGroup.swift
[21/73] Compiling ArgumentParser CommandConfiguration.swift
[22/73] Compiling ArgumentParser EnumerableFlag.swift
[23/73] Compiling ArgumentParser ArgumentHelp.swift
[24/73] Compiling ArgumentParser CompletionKind.swift
[25/73] Compiling ArgumentParser Errors.swift
[26/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/73] Compiling ArgumentParser ParsableCommand.swift
[28/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/73] Compiling ArgumentParser Argument.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 ParsableArguments.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] Compiling SwiftIP SwiftIP.swift
[33/73] Emitting module SwiftIP
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 SwiftIP
[3/31] Compiling SwiftIP SwiftIP.swift
[4/32] Emitting module Swifter
[5/34] Wrapping AST for SwiftIP for debugging
[7/34] Emitting module ArgumentParserToolInfo
[8/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/35] Compiling Swifter String+File.swift
[10/35] Compiling Swifter String+Misc.swift
[11/35] Compiling Swifter Socket.swift
[12/35] Compiling Swifter String+BASE64.swift
[13/35] 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)
[14/35] 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)
[16/68] Compiling ArgumentParser Flag.swift
[17/68] Compiling ArgumentParser NameSpecification.swift
[18/68] Compiling ArgumentParser ParsedValues.swift
[19/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/68] Compiling ArgumentParser CompletionsGenerator.swift
[21/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[22/68] Compiling ArgumentParser ArgumentHelp.swift
[23/68] Compiling ArgumentParser CompletionKind.swift
[24/68] Compiling ArgumentParser Errors.swift
[25/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/68] Compiling ArgumentParser Argument.swift
[27/68] Compiling ArgumentParser Option.swift
[28/68] Compiling ArgumentParser DumpHelpGenerator.swift
[29/68] Compiling ArgumentParser HelpCommand.swift
BUILD FAILURE 6.1 linux