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 ModulusOperandi, reference 0.2.2 (3a08e9), with Swift 6.1 for Linux on 26 Apr 2025 04:35:52 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/ModulusOperandi.git
Reference: 0.2.2
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/CypherPoet/ModulusOperandi
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 3a08e92 0.2.2
Cloned https://github.com/CypherPoet/ModulusOperandi.git
Revision (git rev-parse @):
3a08e92471b779e61b5275b0036d0bd144e43f41
SUCCESS checkout https://github.com/CypherPoet/ModulusOperandi.git at 0.2.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CypherPoet/ModulusOperandi.git
https://github.com/CypherPoet/ModulusOperandi.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "ModulusOperandi",
  "name" : "ModulusOperandi",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ModulusOperandi",
      "targets" : [
        "ModulusOperandi"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ModulusOperandiCLI",
      "targets" : [
        "ModulusOperandiCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModulusOperandiTests",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandiTests",
      "path" : "Tests",
      "sources" : [
        "ModulusOperandi/BinaryFloatingPointModuloTests.swift",
        "ModulusOperandi/BinaryIntegerModuloTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ModulusOperandi"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModulusOperandiCLI",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandiCLI",
      "path" : "Sources/ModulusOperandiCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ModulusOperandiCLI"
      ],
      "sources" : [
        "ModulusOperandiCLI.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ModulusOperandi"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ModulusOperandi",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandi",
      "path" : "Sources/ModulusOperandi",
      "product_memberships" : [
        "ModulusOperandi",
        "ModulusOperandiCLI"
      ],
      "sources" : [
        "Modulo.swift",
        "ModulusMode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/14937] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.20s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/16] Emitting module ArgumentParserToolInfo
[8/17] Wrapping AST for ArgumentParserToolInfo for debugging
[10/51] Emitting module ArgumentParser
[11/55] Compiling ArgumentParser CollectionExtensions.swift
[12/55] Compiling ArgumentParser SequenceExtensions.swift
[13/55] Compiling ArgumentParser StringExtensions.swift
[14/55] Compiling ArgumentParser Tree.swift
[15/55] Compiling ArgumentParser ArgumentHelp.swift
[16/55] Compiling ArgumentParser CompletionKind.swift
[17/55] Compiling ArgumentParser Errors.swift
[18/55] Compiling ArgumentParser Flag.swift
[19/55] Compiling ArgumentParser NameSpecification.swift
[20/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/55] Compiling ArgumentParser CompletionsGenerator.swift
[22/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/55] Compiling ArgumentParser Argument.swift
[25/55] Compiling ArgumentParser ArgumentSet.swift
[26/55] Compiling ArgumentParser CommandParser.swift
[27/55] Compiling ArgumentParser InputOrigin.swift
[28/55] Compiling ArgumentParser Name.swift
[29/55] Compiling ArgumentParser Parsed.swift
[30/55] Compiling ModulusOperandi ModulusMode.swift
[31/55] Emitting module ModulusOperandi
[32/55] Compiling ModulusOperandi Modulo.swift
[34/56] Compiling ArgumentParser ParsedValues.swift
[35/56] Compiling ArgumentParser ParserError.swift
[36/56] Compiling ArgumentParser SplitArguments.swift
[37/56] Compiling ArgumentParser DumpHelpGenerator.swift
[37/56] Wrapping AST for ModulusOperandi for debugging
[39/56] Compiling ArgumentParser Option.swift
[40/56] Compiling ArgumentParser OptionGroup.swift
[41/56] Compiling ArgumentParser CommandConfiguration.swift
[42/56] Compiling ArgumentParser EnumerableFlag.swift
[43/56] Compiling ArgumentParser ExpressibleByArgument.swift
[44/56] Compiling ArgumentParser ParsableArguments.swift
[45/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/56] Compiling ArgumentParser ParsableCommand.swift
[47/56] Compiling ArgumentParser ArgumentDecoder.swift
[48/56] Compiling ArgumentParser ArgumentDefinition.swift
[49/56] Compiling ArgumentParser HelpCommand.swift
[50/56] Compiling ArgumentParser HelpGenerator.swift
[51/56] Compiling ArgumentParser MessageInfo.swift
[52/56] Compiling ArgumentParser UsageGenerator.swift
[53/57] Wrapping AST for ArgumentParser for debugging
[55/60] Emitting module ModulusOperandiCLI
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:69:16: 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
 67 | extension ModulusOperandiCLI: ParsableCommand {
 68 |
 69 |     static let configuration = CommandConfiguration(
    |                `- 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
 70 |         commandName: "modulo",
 71 |         abstract: """
/host/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 |   ///
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 | import Foundation
  2 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  3 | import ModulusOperandi
  4 |
    :
 67 | extension ModulusOperandiCLI: ParsableCommand {
 68 |
 69 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |         commandName: "modulo",
 71 |         abstract: """
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:124:1: warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
122 |
123 | // MARK: - ModulusMode Extensions
124 | extension ModulusOperandi.ModulusMode: EnumerableFlag {}
    | |- warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
125 |
[56/60] Compiling ModulusOperandiCLI ModulusOperandiCLI.swift
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:69:16: 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
 67 | extension ModulusOperandiCLI: ParsableCommand {
 68 |
 69 |     static let configuration = CommandConfiguration(
    |                `- 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
 70 |         commandName: "modulo",
 71 |         abstract: """
/host/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 |   ///
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 | import Foundation
  2 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  3 | import ModulusOperandi
  4 |
    :
 67 | extension ModulusOperandiCLI: ParsableCommand {
 68 |
 69 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |         commandName: "modulo",
 71 |         abstract: """
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:124:1: warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
122 |
123 | // MARK: - ModulusMode Extensions
124 | extension ModulusOperandi.ModulusMode: EnumerableFlag {}
    | |- warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
125 |
[57/60] Compiling ModulusOperandiCLI main.swift
[58/61] Wrapping AST for ModulusOperandiCLI for debugging
[59/61] Write Objects.LinkFileList
[60/61] Linking ModulusOperandiCLI
Build complete! (8.34s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "ModulusOperandi",
  "name" : "ModulusOperandi",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ModulusOperandi",
      "targets" : [
        "ModulusOperandi"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ModulusOperandiCLI",
      "targets" : [
        "ModulusOperandiCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModulusOperandiTests",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandiTests",
      "path" : "Tests",
      "sources" : [
        "ModulusOperandi/BinaryFloatingPointModuloTests.swift",
        "ModulusOperandi/BinaryIntegerModuloTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ModulusOperandi"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModulusOperandiCLI",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandiCLI",
      "path" : "Sources/ModulusOperandiCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ModulusOperandiCLI"
      ],
      "sources" : [
        "ModulusOperandiCLI.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ModulusOperandi"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ModulusOperandi",
      "module_type" : "SwiftTarget",
      "name" : "ModulusOperandi",
      "path" : "Sources/ModulusOperandi",
      "product_memberships" : [
        "ModulusOperandi",
        "ModulusOperandiCLI"
      ],
      "sources" : [
        "Modulo.swift",
        "ModulusMode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
Done.