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 CQRS, reference 1.1.0 (e9f728), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 05:12:59 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/cqrs.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/cqrs
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at e9f7285 Release `1.1.0` (#8)
Cloned https://github.com/space-code/cqrs.git
Revision (git rev-parse @):
e9f7285544c5fd2ce0cd7514900a785e9e08ef2f
SUCCESS checkout https://github.com/space-code/cqrs.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/cqrs.git
https://github.com/space-code/cqrs.git
{
  "dependencies" : [
    {
      "identity" : "dip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.1.1",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/Dip"
    }
  ],
  "manifest_display_name" : "CQRS",
  "name" : "CQRS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CQRS",
      "targets" : [
        "CQRS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CQRSTests",
      "module_type" : "SwiftTarget",
      "name" : "CQRSTests",
      "path" : "Tests/CQRSTests",
      "sources" : [
        "Classes/Command/CommandDispatcherTests.swift",
        "Classes/Query/QueryDispatcherTests.swift",
        "Helpers/Mocks/Commands/CommandMock.swift",
        "Helpers/Mocks/Commands/SecondCommandMock.swift",
        "Helpers/Mocks/Handlers/CommandHandlerMock.swift",
        "Helpers/Mocks/Handlers/QueryHandlerMock.swift",
        "Helpers/Mocks/Handlers/SecondCommandHandlerMock.swift",
        "Helpers/Mocks/Queries/QueryMock.swift"
      ],
      "target_dependencies" : [
        "CQRS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CQRS",
      "module_type" : "SwiftTarget",
      "name" : "CQRS",
      "path" : "Sources/CQRS",
      "product_dependencies" : [
        "Dip"
      ],
      "product_memberships" : [
        "CQRS"
      ],
      "sources" : [
        "Classes/Command/CommandDispatcher.swift",
        "Classes/Command/Interfaces/ICommand.swift",
        "Classes/Command/Interfaces/ICommandDispatcher.swift",
        "Classes/Command/Interfaces/ICommandHandler.swift",
        "Classes/Helpers/Container/DependencyContainer.swift",
        "Classes/Helpers/Container/IDependencyContainer.swift",
        "Classes/Models/CQRSError.swift",
        "Classes/Query/Interfaces/IQuery.swift",
        "Classes/Query/Interfaces/IQueryDispatcher.swift",
        "Classes/Query/Interfaces/IQueryHandler.swift",
        "Classes/Query/QueryDispatcher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/16] Compiling Dip TypeForwarding.swift
[5/17] Compiling Dip Utils.swift
[6/17] Compiling Dip DipError.swift
[7/17] Compiling Dip RuntimeArguments.swift
[8/17] Compiling Dip Resolve.swift
[9/17] Compiling Dip Register.swift
[10/17] Compiling Dip Compatibility.swift
[11/17] Compiling Dip ComponentScope.swift
[12/17] Compiling Dip AutoInjection.swift
[13/17] Compiling Dip AutoWiring.swift
[14/17] Compiling Dip Definition.swift
[15/17] Compiling Dip Dip.swift
[16/17] Emitting module Dip
[17/17] Compiling Dip StoryboardInstantiatable.swift
[18/28] Compiling CQRS IQuery.swift
[19/28] Compiling CQRS CQRSError.swift
[20/28] Compiling CQRS ICommandDispatcher.swift
[21/29] Compiling CQRS IQueryDispatcher.swift
[22/29] Compiling CQRS ICommandHandler.swift
[23/29] Emitting module CQRS
[24/29] Compiling CQRS CommandDispatcher.swift
[25/29] Compiling CQRS ICommand.swift
[26/29] Compiling CQRS IDependencyContainer.swift
[27/29] Compiling CQRS IQueryHandler.swift
[28/29] Compiling CQRS DependencyContainer.swift
[29/29] Compiling CQRS QueryDispatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/CQRS/Classes/Query/QueryDispatcher.swift:28:46: warning: forced cast of 'Q.Result' to same type has no effect
26 |         let handler = try container.resolve() as any IQueryHandler<Q>
27 |         // swiftlint:disable:next force_cast
28 |         return handler.execute(query: query) as! Q.Result
   |                                              `- warning: forced cast of 'Q.Result' to same type has no effect
29 |     }
30 | }
Build complete! (13.48s)
Fetching https://github.com/AliSoftware/Dip
[1/4684] Fetching dip
Fetched https://github.com/AliSoftware/Dip from cache (0.92s)
Computing version for https://github.com/AliSoftware/Dip
Computed https://github.com/AliSoftware/Dip at 7.1.1 (1.95s)
Creating working copy for https://github.com/AliSoftware/Dip
Working copy of https://github.com/AliSoftware/Dip resolved at 7.1.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "dip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.1.1",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/Dip"
    }
  ],
  "manifest_display_name" : "CQRS",
  "name" : "CQRS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CQRS",
      "targets" : [
        "CQRS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CQRSTests",
      "module_type" : "SwiftTarget",
      "name" : "CQRSTests",
      "path" : "Tests/CQRSTests",
      "sources" : [
        "Classes/Command/CommandDispatcherTests.swift",
        "Classes/Query/QueryDispatcherTests.swift",
        "Helpers/Mocks/Commands/CommandMock.swift",
        "Helpers/Mocks/Commands/SecondCommandMock.swift",
        "Helpers/Mocks/Handlers/CommandHandlerMock.swift",
        "Helpers/Mocks/Handlers/QueryHandlerMock.swift",
        "Helpers/Mocks/Handlers/SecondCommandHandlerMock.swift",
        "Helpers/Mocks/Queries/QueryMock.swift"
      ],
      "target_dependencies" : [
        "CQRS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CQRS",
      "module_type" : "SwiftTarget",
      "name" : "CQRS",
      "path" : "Sources/CQRS",
      "product_dependencies" : [
        "Dip"
      ],
      "product_memberships" : [
        "CQRS"
      ],
      "sources" : [
        "Classes/Command/CommandDispatcher.swift",
        "Classes/Command/Interfaces/ICommand.swift",
        "Classes/Command/Interfaces/ICommandDispatcher.swift",
        "Classes/Command/Interfaces/ICommandHandler.swift",
        "Classes/Helpers/Container/DependencyContainer.swift",
        "Classes/Helpers/Container/IDependencyContainer.swift",
        "Classes/Models/CQRSError.swift",
        "Classes/Query/Interfaces/IQuery.swift",
        "Classes/Query/Interfaces/IQueryDispatcher.swift",
        "Classes/Query/Interfaces/IQueryHandler.swift",
        "Classes/Query/QueryDispatcher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.