The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ignorio with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josefdolezal/ignorio.git
Reference: 0.6.0
Cloned https://github.com/josefdolezal/ignorio.git into spi-builder-workspace
SUCCESS checkout https://github.com/josefdolezal/ignorio.git at 0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1588] Fetching commander
[1145/2609] Fetching commander, spectre
Fetched https://github.com/kylef/Commander.git (0.29s)
Fetched https://github.com/kylef/Spectre.git (0.29s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.92s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.35s)
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...
[1/19] Compiling Commander Command.swift
[2/20] Compiling Commander Group.swift
[3/20] Compiling Commander ArgumentConvertible.swift
[4/20] Compiling Commander ArgumentDescription.swift
[5/20] Emitting module Commander
[6/20] Compiling Commander ArgumentParser.swift
[7/20] Compiling Commander Commands.swift
[8/20] Compiling Commander CommandType.swift
[9/20] Compiling Commander Error.swift
[10/20] Compiling IgnorioKit IgnorioKitError.swift
[11/20] 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)
[12/20] Compiling IgnorioKit APIActions.swift
[13/20] Compiling IgnorioKit UnknownTypesValidator.swift
[14/20] 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 {
                                       ^~~~~~~~~~
[15/20] 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.9 linux

Build Machine: Linux 1