The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ignorio, reference 0.6.0 (255266), with Swift 6.0 for Linux on 26 Nov 2024 08:42:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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:             6.0
Building package at path:  $PWD
https://github.com/josefdolezal/ignorio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.24s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.44s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.23s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.89s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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] Emitting module Commander
[6/25] Compiling Commander Command.swift
[7/25] Compiling Commander ArgumentParser.swift
[8/25] Compiling Commander Group.swift
[9/25] Compiling Commander CommandType.swift
[10/25] Compiling Commander ArgumentConvertible.swift
[11/25] Compiling Commander ArgumentDescription.swift
[12/25] Compiling Commander Commands.swift
[13/25] Compiling Commander Error.swift
[14/25] Compiling Commander CommandRunner.swift
[15/26] Wrapping AST for Commander for debugging
[17/26] Compiling IgnorioKit IgnorioKitError.swift
[18/26] Compiling IgnorioKit GitignoreioAPI.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
31 |
32 |     /// Actual network request
33 |     var request: URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
34 |         let url = GitignoreioAPI.baseURL.appendingPathComponent(path)
35 |
[19/26] Compiling IgnorioKit GitignoreioProvider.swift
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
40 |     /// - Parameter request: Request which will be called
41 |     /// - Returns: Network request result
42 |     func synchronousRequest(_ request: URLRequest) -> RequestResult {
   |                                        `- error: cannot find type 'URLRequest' in scope
43 |         // Semaphore which makes the call synchronous
44 |         let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
31 |
32 |     /// Actual network request
33 |     var request: URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
34 |         let url = GitignoreioAPI.baseURL.appendingPathComponent(path)
35 |
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:48:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |         var result = RequestResult.failure(.requestTimeout)
47 |
48 |         let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |             // Create failure result with underlying error if occured
50 |             if let error = error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/26] Compiling IgnorioKit UnknownTypesValidator.swift
[21/26] Compiling IgnorioKit APIActions.swift
[22/26] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioAPI.swift:33:18: error: cannot find type 'URLRequest' in scope
31 |
32 |     /// Actual network request
33 |     var request: URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
34 |         let url = GitignoreioAPI.baseURL.appendingPathComponent(path)
35 |
/host/spi-builder-workspace/Sources/IgnorioKit/GitignoreioProvider.swift:42:40: error: cannot find type 'URLRequest' in scope
40 |     /// - Parameter request: Request which will be called
41 |     /// - Returns: Network request result
42 |     func synchronousRequest(_ request: URLRequest) -> RequestResult {
   |                                        `- error: cannot find type 'URLRequest' in scope
43 |         // Semaphore which makes the call synchronous
44 |         let semaphore = DispatchSemaphore(value: 0)
BUILD FAILURE 6.0 linux