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 dev (acd555), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 05:13:36 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: dev
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/cqrs
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at acd5550 Update the project
Cloned https://github.com/space-code/cqrs.git
Revision (git rev-parse @):
acd55506d5639a7b83e6405f7d802d16fd135231
SUCCESS checkout https://github.com/space-code/cqrs.git at dev
========================================
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 RuntimeArguments.swift
[5/16] Compiling Dip Resolve.swift
[6/16] Compiling Dip Register.swift
[7/16] Compiling Dip DipError.swift
[8/17] Emitting module Dip
[9/17] Compiling Dip Definition.swift
[10/17] Compiling Dip Dip.swift
[11/17] Compiling Dip AutoInjection.swift
[12/17] Compiling Dip AutoWiring.swift
[13/17] Compiling Dip Compatibility.swift
[14/17] Compiling Dip ComponentScope.swift
[15/17] Compiling Dip Utils.swift
[16/17] Compiling Dip TypeForwarding.swift
[17/17] Compiling Dip StoryboardInstantiatable.swift
[18/28] Compiling CQRS IQueryHandler.swift
[19/28] Compiling CQRS IQuery.swift
[20/28] Compiling CQRS IQueryDispatcher.swift
[21/28] Compiling CQRS CQRSError.swift
[22/29] Compiling CQRS ICommandDispatcher.swift
[23/29] Compiling CQRS CommandDispatcher.swift
[24/29] Compiling CQRS ICommand.swift
[25/29] Emitting module CQRS
[26/29] Compiling CQRS IDependencyContainer.swift
[27/29] Compiling CQRS DependencyContainer.swift
[28/29] Compiling CQRS ICommandHandler.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.76s)
Fetching https://github.com/AliSoftware/Dip
[1/4684] Fetching dip
Fetched https://github.com/AliSoftware/Dip from cache (1.00s)
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.