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 master (f0fcd1), with Swift 6.1 for Linux on 25 Apr 2025 09:40:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f0fcd1e Remove badges
Cloned https://github.com/josefdolezal/ignorio.git
Revision (git rev-parse @):
f0fcd1e3ffb28aeb917098abd89ac0ea4daba747
SUCCESS checkout https://github.com/josefdolezal/ignorio.git at master
========================================
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" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "ignorio",
  "name" : "ignorio",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "IgnorioKit",
      "targets" : [
        "IgnorioKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ignorio",
      "targets" : [
        "ignorio"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ignorio",
      "module_type" : "SwiftTarget",
      "name" : "ignorio",
      "path" : "Sources/ignorio",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ignorio"
      ],
      "sources" : [
        "Commands/Generate.swift",
        "Commands/List.swift",
        "Commands/Search.swift",
        "Ignorio.swift",
        "IgnorioError.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" : [
        "IgnorioKit",
        "ignorio"
      ],
      "sources" : [
        "ContentValidations/UnknownTypesValidator.swift",
        "GitIgnoreIOService.swift",
        "HttpClient.swift",
        "IgnorioKitError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apple/swift-argument-parser
[1/14913] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (1.78s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/19] Emitting module ArgumentParserToolInfo
[8/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/20] Wrapping AST for ArgumentParserToolInfo for debugging
[11/56] Emitting module ArgumentParser
[12/60] Compiling IgnorioKit HttpClient.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:6:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct HttpClient {
   |               `- note: consider making struct 'HttpClient' conform to the 'Sendable' protocol
 4 |     public var get: (_ url: URL) async throws -> Data
 5 |
 6 |     public static let live: HttpClient = .init(
   |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/60] Compiling IgnorioKit UnknownTypesValidator.swift
[14/60] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:6:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct HttpClient {
   |               `- note: consider making struct 'HttpClient' conform to the 'Sendable' protocol
 4 |     public var get: (_ url: URL) async throws -> Data
 5 |
 6 |     public static let live: HttpClient = .init(
   |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
[15/60] Compiling ArgumentParser CollectionExtensions.swift
[16/60] Compiling ArgumentParser SequenceExtensions.swift
[17/60] Compiling ArgumentParser StringExtensions.swift
[18/60] Compiling ArgumentParser Tree.swift
[19/60] Compiling IgnorioKit GitIgnoreIOService.swift
[20/60] Compiling IgnorioKit IgnorioKitError.swift
[21/60] Compiling ArgumentParser ArgumentHelp.swift
[22/60] Compiling ArgumentParser ArgumentVisibility.swift
[23/60] Compiling ArgumentParser CompletionKind.swift
[24/60] Compiling ArgumentParser Errors.swift
[25/60] Compiling ArgumentParser Flag.swift
[26/60] Compiling ArgumentParser Name.swift
[27/60] Compiling ArgumentParser Parsed.swift
[28/60] Compiling ArgumentParser ParsedValues.swift
[29/60] Compiling ArgumentParser ParserError.swift
[30/60] Compiling ArgumentParser SplitArguments.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling IgnorioKit UnknownTypesValidator.swift
[4/15] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
[6/15] Compiling IgnorioKit GitIgnoreIOService.swift
[7/15] Compiling IgnorioKit HttpClient.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
[8/15] Compiling IgnorioKit IgnorioKitError.swift
BUILD FAILURE 6.1 linux