This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ignorio with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josefdolezal/ignorio.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/josefdolezal/ignorio.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[1/9] Write ignorio-entitlement.plist
[2/9] Write sources
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/16] Emitting module ArgumentParserToolInfo
[9/53] Compiling ArgumentParser InputOrigin.swift
[10/53] Compiling ArgumentParser Name.swift
[11/53] Compiling ArgumentParser Parsed.swift
[12/53] Compiling ArgumentParser ParsedValues.swift
[13/56] Compiling ArgumentParser SequenceExtensions.swift
[14/56] Compiling ArgumentParser StringExtensions.swift
[15/56] Compiling ArgumentParser Tree.swift
[16/56] Emitting module ArgumentParser
[17/56] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/56] Compiling ArgumentParser CompletionsGenerator.swift
[19/56] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/56] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/56] Compiling ArgumentParser ExpressibleByArgument.swift
[22/56] Compiling ArgumentParser ParsableArguments.swift
[23/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/56] Compiling ArgumentParser ParsableCommand.swift
[25/56] Compiling ArgumentParser ArgumentDecoder.swift
[26/56] Compiling ArgumentParser ArgumentDefinition.swift
[27/56] Compiling ArgumentParser ArgumentSet.swift
[28/56] Compiling ArgumentParser CommandParser.swift
[29/56] Compiling ArgumentParser Errors.swift
[30/56] Compiling ArgumentParser Flag.swift
[31/56] Compiling ArgumentParser NameSpecification.swift
[32/56] Compiling ArgumentParser Option.swift
[33/56] Compiling ArgumentParser OptionGroup.swift
[34/56] Compiling ArgumentParser AsyncParsableCommand.swift
[35/56] Compiling ArgumentParser CommandConfiguration.swift
[36/56] Compiling ArgumentParser EnumerableFlag.swift
[37/56] Compiling IgnorioKit HttpClient.swift
/Users/admin/builder/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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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)
[38/56] Compiling IgnorioKit IgnorioKitError.swift
[39/56] Compiling IgnorioKit GitIgnoreIOService.swift
/Users/admin/builder/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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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)
[40/56] Compiling IgnorioKit UnknownTypesValidator.swift
[41/56] Emitting module IgnorioKit
/Users/admin/builder/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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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)
[42/56] Compiling ArgumentParser Argument.swift
[43/56] Compiling ArgumentParser ArgumentHelp.swift
[44/56] Compiling ArgumentParser ArgumentVisibility.swift
[45/56] Compiling ArgumentParser CompletionKind.swift
[46/56] Compiling ArgumentParser HelpGenerator.swift
[47/56] Compiling ArgumentParser MessageInfo.swift
[48/56] Compiling ArgumentParser UsageGenerator.swift
[49/56] Compiling ArgumentParser CollectionExtensions.swift
[50/56] Compiling ArgumentParser ParserError.swift
[51/56] Compiling ArgumentParser SplitArguments.swift
[52/56] Compiling ArgumentParser DumpHelpGenerator.swift
[53/56] Compiling ArgumentParser HelpCommand.swift
[54/62] Compiling ignorio IgnorioError.swift
[55/62] Compiling ignorio Ignorio.swift
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Ignorio.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | @main
 4 | struct Ignorio: AsyncParsableCommand {
 5 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         abstract: "Command line interface for gitignore.io",
 7 |         version: "0.2.0",
[56/62] Compiling ignorio Generate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Generate.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct Generate: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |             abstract: "Generate .gitignore template for given collection of types"
 8 |         )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Generate.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import IgnorioKit
 3 |
 4 | extension Ignorio {
 5 |     struct Generate: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "Generate .gitignore template for given collection of types"
 8 |         )
[57/62] Compiling ignorio List.swift
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/List.swift:6:20: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct List: AsyncParsableCommand {
 6 |         static var configuration: CommandConfiguration = .init(
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "List all supported types by gitignore.io"
 8 |         )
[58/62] Emitting module ignorio
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Generate.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct Generate: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |             abstract: "Generate .gitignore template for given collection of types"
 8 |         )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Generate.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import IgnorioKit
 3 |
 4 | extension Ignorio {
 5 |     struct Generate: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "Generate .gitignore template for given collection of types"
 8 |         )
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/List.swift:6:20: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct List: AsyncParsableCommand {
 6 |         static var configuration: CommandConfiguration = .init(
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "List all supported types by gitignore.io"
 8 |         )
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Search.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct Search: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |             abstract: "Search supported types by query"
 8 |         )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Search.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import IgnorioKit
 3 |
 4 | extension Ignorio {
 5 |     struct Search: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "Search supported types by query"
 8 |         )
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Ignorio.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | @main
 4 | struct Ignorio: AsyncParsableCommand {
 5 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         abstract: "Command line interface for gitignore.io",
 7 |         version: "0.2.0",
[59/62] Compiling ignorio Search.swift
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Search.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Ignorio {
 5 |     struct Search: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |             abstract: "Search supported types by query"
 8 |         )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/ignorio/Commands/Search.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import IgnorioKit
 3 |
 4 | extension Ignorio {
 5 |     struct Search: AsyncParsableCommand {
 6 |         static let configuration: CommandConfiguration = .init(
   |                    |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |             abstract: "Search supported types by query"
 8 |         )
[59/62] Write Objects.LinkFileList
[60/62] Linking ignorio
[61/62] Applying ignorio
Build complete! (22.59s)
Fetching https://github.com/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.68s)
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.2
Build complete.
{
  "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" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.