The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ignorio 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josefdolezal/ignorio.git
Reference: 0.6.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/josefdolezal/ignorio
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 255266a Update for swift 5
Cloned https://github.com/josefdolezal/ignorio.git
Revision (git rev-parse @):
255266ab0b86f431396cc815f16021d138b2cd55
SUCCESS checkout https://github.com/josefdolezal/ignorio.git at 0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/josefdolezal/ignorio.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 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/Commander.git
[1/1021] Fetching spectre
[1022/2609] Fetching spectre, commander
Fetched https://github.com/kylef/Commander.git from cache (0.33s)
Fetched https://github.com/kylef/Spectre.git from cache (0.33s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.44s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.46s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.8.0
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/24] Compiling Commander ArgumentConvertible.swift
[6/24] Compiling Commander ArgumentDescription.swift
[7/24] Emitting module Commander
[8/25] Compiling Commander Group.swift
[9/25] Compiling Commander Commands.swift
[10/25] Compiling Commander CommandType.swift
[11/25] Compiling Commander Error.swift
[12/25] Compiling Commander Command.swift
[13/25] Compiling Commander CommandRunner.swift
[14/25] Compiling Commander ArgumentParser.swift
[15/26] Compiling IgnorioKit IgnorioKitError.swift
[16/26] Compiling IgnorioKit GitignoreioProvider.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
    func synchronousRequest(_ request: URLRequest) -> RequestResult {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:48:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
                   ~~~~~~~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/26] Compiling IgnorioKit UnknownTypesValidator.swift
[19/26] Compiling IgnorioKit APIActions.swift
[20/26] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
    func synchronousRequest(_ request: URLRequest) -> RequestResult {
                                       ^~~~~~~~~~
[21/26] Compiling IgnorioKit GitignoreioAPI.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
error: fatalError
[21/26] Wrapping AST for Commander for debugging
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[1/6] Wrapping AST for Commander for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
    func synchronousRequest(_ request: URLRequest) -> RequestResult {
                                       ^~~~~~~~~~
[4/9] Compiling IgnorioKit GitignoreioProvider.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
    func synchronousRequest(_ request: URLRequest) -> RequestResult {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:48:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
                   ~~~~~~~~~~ ^~~~~~
[5/9] Compiling IgnorioKit GitignoreioAPI.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest {
                 ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2