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.1 for Linux on 25 Apr 2025 09:40:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/josefdolezal/ignorio.git
https://github.com/josefdolezal/ignorio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "0.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "ignorio",
  "name" : "ignorio",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ignorio",
      "targets" : [
        "ignorio"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "IgnorioKit",
      "targets" : [
        "IgnorioKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ignorio",
      "module_type" : "SwiftTarget",
      "name" : "ignorio",
      "path" : "Sources/ignorio",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "ignorio"
      ],
      "sources" : [
        "Commands/CreateCommand.swift",
        "Commands/ListCommand.swift",
        "Commands/SearchCommand.swift",
        "IgnorioError.swift",
        "Validators/TypesValidator.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IgnorioKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "IgnorioKitTests",
      "module_type" : "SwiftTarget",
      "name" : "IgnorioKitTests",
      "path" : "Tests/IgnorioKitTests",
      "sources" : [
        "APIActionsTests.swift",
        "ContentValidations/UnknownTypesValidatorTests.swift"
      ],
      "target_dependencies" : [
        "IgnorioKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IgnorioKit",
      "module_type" : "SwiftTarget",
      "name" : "IgnorioKit",
      "path" : "Sources/IgnorioKit",
      "product_memberships" : [
        "ignorio",
        "IgnorioKit"
      ],
      "sources" : [
        "APIActions.swift",
        "ContentValidations/UnknownTypesValidator.swift",
        "GitignoreioAPI.swift",
        "GitignoreioProvider.swift",
        "IgnorioKitError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.31s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (1.05s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.90s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/24] Emitting module Commander
[6/25] Compiling Commander ArgumentParser.swift
[7/25] Compiling Commander CommandType.swift
[8/25] Compiling Commander Group.swift
[9/25] Compiling Commander Commands.swift
[10/25] Compiling Commander Error.swift
[11/25] Compiling Commander Command.swift
[12/25] Compiling Commander ArgumentConvertible.swift
[13/25] Compiling Commander ArgumentDescription.swift
[14/25] Compiling Commander CommandRunner.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/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)
[16/26] Compiling IgnorioKit APIActions.swift
[18/26] Compiling IgnorioKit IgnorioKitError.swift
[19/26] Compiling IgnorioKit UnknownTypesValidator.swift
[20/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 |
[21/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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/21] 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)
[3/21] 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 |
[4/21] 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 {
[5/21] Compiling IgnorioKit IgnorioKitError.swift
[6/21] Compiling IgnorioKit APIActions.swift
[7/21] Compiling IgnorioKit UnknownTypesValidator.swift
[8/21] Compiling Commander Command.swift
[9/22] Compiling Commander Error.swift
BUILD FAILURE 6.1 linux