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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nomi-ngj/SpiderWebService.git
Reference: 1.0.2
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/Nomi-ngj/SpiderWebService
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at dd10290 Adding Version
Cloned https://github.com/Nomi-ngj/SpiderWebService.git
Revision (git rev-parse @):
dd10290d53368e74f168ad7b5abaf7638aa17b06
SUCCESS checkout https://github.com/Nomi-ngj/SpiderWebService.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Nomi-ngj/SpiderWebService.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SpiderWebService NetworkError.swift
[4/10] Compiling SpiderWebService Request.swift
/host/spi-builder-workspace/Sources/SpiderWebService/Request.swift:24:35: error: cannot find type 'URLRequest' in scope
    func toURLRequest() throws -> URLRequest {
                                  ^~~~~~~~~~
[5/10] Compiling SpiderWebService URLRequest.swift
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:37:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
       ^         ~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module SpiderWebService
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:37:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
       ^         ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/HTTPURLResponse.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Request.swift:24:35: error: cannot find type 'URLRequest' in scope
    func toURLRequest() throws -> URLRequest {
                                  ^~~~~~~~~~
[7/10] Compiling SpiderWebService HTTPMethod.swift
[8/10] Compiling SpiderWebService HTTPURLResponse.swift
/host/spi-builder-workspace/Sources/SpiderWebService/HTTPURLResponse.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[9/10] Compiling SpiderWebService Decodable+decoding.swift
[10/10] Compiling SpiderWebService URL+Expressible.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SpiderWebService URLRequest.swift
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:37:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
       ^         ~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module SpiderWebService
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:37:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
       ^         ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/HTTPURLResponse.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SpiderWebService/Request.swift:24:35: error: cannot find type 'URLRequest' in scope
    func toURLRequest() throws -> URLRequest {
                                  ^~~~~~~~~~
[4/5] Compiling SpiderWebService Request.swift
/host/spi-builder-workspace/Sources/SpiderWebService/Request.swift:24:35: error: cannot find type 'URLRequest' in scope
    func toURLRequest() throws -> URLRequest {
                                  ^~~~~~~~~~
[5/5] Compiling SpiderWebService HTTPURLResponse.swift
/host/spi-builder-workspace/Sources/SpiderWebService/HTTPURLResponse.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux