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 macOS (SPM) on 26 Apr 2025 04:43:15 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.80s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (1.43s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "modulusoperandi",
      "name": "ModulusOperandi",
      "url": "https://github.com/CypherPoet/ModulusOperandi.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ModulusOperandi",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CypherPoet/ModulusOperandi.git
[1/234] Fetching modulusoperandi
Fetched https://github.com/CypherPoet/ModulusOperandi.git from cache (1.19s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.18s)
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
Creating working copy for https://github.com/CypherPoet/ModulusOperandi.git
Working copy of https://github.com/CypherPoet/ModulusOperandi.git resolved at 0.2.2 (3a08e92)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CypherPoet/ModulusOperandi.git
https://github.com/CypherPoet/ModulusOperandi.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write sources
[3/8] Write ModulusOperandiCLI-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/44] Emitting module ArgumentParser
[7/47] Compiling ArgumentParser ParsableArgumentsValidation.swift
[8/47] Compiling ArgumentParser ParsableCommand.swift
[9/47] Compiling ArgumentParser ArgumentDecoder.swift
[10/47] Compiling ArgumentParser ArgumentDefinition.swift
[11/47] Compiling ArgumentParser Name.swift
[12/47] Compiling ArgumentParser Parsed.swift
[13/47] Compiling ArgumentParser ParsedValues.swift
[14/47] Compiling ArgumentParser ArgumentSet.swift
[15/47] Compiling ArgumentParser CommandParser.swift
[16/47] Compiling ArgumentParser InputOrigin.swift
[17/47] Compiling ArgumentParser SequenceExtensions.swift
[18/47] Compiling ArgumentParser StringExtensions.swift
[19/47] Compiling ArgumentParser Tree.swift
[20/47] Compiling ArgumentParser Flag.swift
[21/47] Compiling ArgumentParser NameSpecification.swift
[22/47] Compiling ArgumentParser Option.swift
[23/47] Compiling ArgumentParser OptionGroup.swift
[24/47] Compiling ArgumentParser Argument.swift
[25/47] Compiling ArgumentParser ArgumentHelp.swift
[26/47] Compiling ArgumentParser CompletionKind.swift
[27/47] Compiling ArgumentParser Errors.swift
[28/47] Compiling ArgumentParser CommandConfiguration.swift
[29/47] Compiling ArgumentParser EnumerableFlag.swift
[30/47] Compiling ArgumentParser ExpressibleByArgument.swift
[31/47] Compiling ArgumentParser ParsableArguments.swift
[32/47] Compiling ModulusOperandi Modulo.swift
[33/47] Compiling ModulusOperandi ModulusMode.swift
[34/47] Emitting module ModulusOperandi
[35/47] Compiling ArgumentParser HelpGenerator.swift
[36/47] Compiling ArgumentParser MessageInfo.swift
[37/47] Compiling ArgumentParser UsageGenerator.swift
[38/47] Compiling ArgumentParser ParserError.swift
[39/47] Compiling ArgumentParser SplitArguments.swift
[40/47] Compiling ArgumentParser HelpCommand.swift
[41/47] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/47] Compiling ArgumentParser CompletionsGenerator.swift
[43/47] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/47] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/50] Compiling ModulusOperandiCLI main.swift
[46/50] Emitting module ModulusOperandiCLI
/Users/admin/builder/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: """
/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/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: """
/Users/admin/builder/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 |
[47/50] Compiling ModulusOperandiCLI ModulusOperandiCLI.swift
/Users/admin/builder/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: """
/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/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: """
/Users/admin/builder/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 |
[47/50] Write Objects.LinkFileList
[48/50] Linking ModulusOperandiCLI
[49/50] Applying ModulusOperandiCLI
Build complete! (5.76s)
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" : "/Users/admin/builder/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"
}
Done.