This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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 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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Samasaur1/SimpleSwiftServer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/apple/swift-argument-parser.git
[1/295] Fetching swiftip
[296/6327] Fetching swiftip, swifter
[4640/18006] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.64s)
Fetched https://github.com/httpswift/swifter from cache (0.66s)
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.11s)
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.12s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.44s)
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 HttpParser.swift
[9/70] Compiling Swifter HttpRequest.swift
[10/70] Compiling Swifter HttpResponse.swift
[11/70] Compiling Swifter MimeTypes.swift
[12/70] Compiling Swifter Process.swift
[13/70] Compiling Swifter Scopes.swift
[14/70] Compiling Swifter HttpRouter.swift
[15/70] Compiling Swifter HttpServer.swift
[16/70] Compiling Swifter HttpServerIO.swift
[17/70] Compiling Swifter Socket+File.swift
[18/70] Compiling Swifter String+File.swift
[19/70] Compiling Swifter String+Misc.swift
[20/70] Compiling Swifter Socket.swift
[21/70] Compiling Swifter String+BASE64.swift
[22/70] Compiling Swifter String+SHA1.swift
[23/70] Compiling Swifter Socket+Server.swift
[24/70] Compiling Swifter DemoServer.swift
[25/70] Compiling Swifter Errno.swift
[26/70] Compiling Swifter Files.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)
/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)
[43/70] Compiling Swifter WebSockets.swift
[47/70] Emitting module SwiftIP
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:25:23: error: cannot find 'URLRequest' in scope
23 |         let semaphore = DispatchSemaphore(value: 0)
24 |         let url = URL(string: "https://\(version.rawValue).icanhazip.com")!//i can haz ip
25 |         let request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
26 |         let config = URLSessionConfiguration.default
27 |         let session = URLSession(configuration: config)
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:26:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 |         let url = URL(string: "https://\(version.rawValue).icanhazip.com")!//i can haz ip
25 |         let request = URLRequest(url: url)
26 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |         let session = URLSession(configuration: config)
28 |
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.