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 Linux on 30 Apr 2025 05:06:28 UTC.

Swift 6 data race errors: 0

Build Command

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

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 /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/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/cqrs.git
https://github.com/space-code/cqrs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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/AliSoftware/Dip
[1/4684] Fetching dip
Fetched https://github.com/AliSoftware/Dip from cache (0.29s)
Computing version for https://github.com/AliSoftware/Dip
Computed https://github.com/AliSoftware/Dip at 7.1.1 (2.19s)
Creating working copy for https://github.com/AliSoftware/Dip
Working copy of https://github.com/AliSoftware/Dip resolved at 7.1.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling Dip StoryboardInstantiatable.swift
[5/17] Compiling Dip TypeForwarding.swift
[6/17] Compiling Dip Resolve.swift
[7/17] Compiling Dip RuntimeArguments.swift
[8/17] Compiling Dip Definition.swift
[9/17] Compiling Dip Dip.swift
[10/17] Compiling Dip DipError.swift
[11/17] Compiling Dip Register.swift
[12/17] Compiling Dip Compatibility.swift
[13/17] Compiling Dip ComponentScope.swift
[14/17] Emitting module Dip
[15/17] Compiling Dip AutoInjection.swift
[16/17] Compiling Dip AutoWiring.swift
[17/17] Compiling Dip Utils.swift
[19/29] Compiling CQRS IQueryDispatcher.swift
[20/29] Compiling CQRS IQueryHandler.swift
[21/30] Compiling CQRS IQuery.swift
[22/30] Compiling CQRS CQRSError.swift
[23/30] Compiling CQRS DependencyContainer.swift
[24/30] Compiling CQRS IDependencyContainer.swift
[25/30] Compiling CQRS CommandDispatcher.swift
[26/30] Compiling CQRS ICommand.swift
[27/30] Emitting module CQRS
[28/30] Compiling CQRS ICommandDispatcher.swift
[29/30] Compiling CQRS ICommandHandler.swift
[30/30] Compiling CQRS QueryDispatcher.swift
/host/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! (10.80s)
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" : "/host/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"
}
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.