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 with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.38.1
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:             5.10
Building package at path:  $workDir
https://github.com/Samasaur1/SimpleSwiftServer.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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
[13/6327] Fetching swiftip, swifter
[3132/17989] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.03s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.04s)
Fetched https://github.com/httpswift/swifter from cache (1.05s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (1.18s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.1 (1.18s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.45s)
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.0
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.3.1
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/64] Emitting module Swifter
[7/66] Emitting module ArgumentParser
[8/70] Compiling Swifter HttpResponse.swift
[9/70] Compiling Swifter HttpRouter.swift
[10/70] Compiling Swifter HttpServer.swift
[11/70] Compiling Swifter HttpServerIO.swift
[12/70] Compiling Swifter Socket+File.swift
[13/70] Compiling Swifter DemoServer.swift
[14/70] Compiling Swifter Errno.swift
[15/70] Compiling Swifter Files.swift
[16/70] Compiling Swifter HttpParser.swift
[17/70] Compiling Swifter HttpRequest.swift
[18/70] Compiling ArgumentParser UsageGenerator.swift
[19/70] Compiling ArgumentParser SequenceExtensions.swift
[20/70] Compiling ArgumentParser StringExtensions.swift
[21/70] Compiling ArgumentParser Tree.swift
[25/70] Compiling ArgumentParser Option.swift
[26/70] Compiling ArgumentParser OptionGroup.swift
[27/70] Compiling ArgumentParser CommandConfiguration.swift
[28/70] Compiling ArgumentParser EnumerableFlag.swift
[29/70] Compiling ArgumentParser ExpressibleByArgument.swift
[30/70] Compiling ArgumentParser ParsableArguments.swift
[31/70] Compiling Swifter String+File.swift
[32/70] Compiling Swifter String+Misc.swift
[33/70] Compiling Swifter String+SHA1.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:23:60: error: generic parameter 'Element' could not be inferred
                    let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
                                                           ^
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:23:60: error: generic parameter 'Element' could not be inferred
                    let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
                                                           ^
[43/70] Compiling ArgumentParser Name.swift
[44/70] Compiling ArgumentParser Parsed.swift
[45/70] Compiling ArgumentParser ParsedValues.swift
[46/70] Compiling ArgumentParser ParserError.swift
[47/70] Compiling Swifter WebSockets.swift
[48/70] Compiling ArgumentParser ArgumentSet.swift
[49/70] Compiling ArgumentParser CommandParser.swift
[50/70] Compiling ArgumentParser InputOrigin.swift
[51/70] Compiling ArgumentParser SplitArguments.swift
[52/70] Compiling ArgumentParser HelpCommand.swift
[53/70] Compiling ArgumentParser HelpGenerator.swift
[54/70] Compiling ArgumentParser MessageInfo.swift
error: fatalError
[63/71] Wrapping AST for ArgumentParser for debugging
[64/71] Emitting module SwiftIP
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:25:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:26:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let config = URLSessionConfiguration.default
                     ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:27:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: config)
                      ^~~~~~~~~~
BUILD FAILURE 5.10 linux