The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of EasyInject, reference master (dbae63), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 17:44:25 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/EasyInject.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vknabel/EasyInject
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dbae631 Updated docs and swift version
Cloned https://github.com/vknabel/EasyInject.git
Revision (git rev-parse @):
dbae6318ade26c213b3ec3578625e0637628fdba
SUCCESS checkout https://github.com/vknabel/EasyInject.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vknabel/EasyInject.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/13] Compiling EasyInject StrictInjector.swift
[4/14] Compiling EasyInject GenericProvidableKey.swift
[5/14] Compiling EasyInject LazyInjector.swift
[6/14] Compiling EasyInject LazilyInjectedProvider.swift
[7/14] Compiling EasyInject GlobalInjector.swift
[8/14] Compiling EasyInject Extensions.swift
[9/14] Emitting module EasyInject
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/CoreExtensions.swift:104:29: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |   /// - Returns: A new `Provider` with a `String` as `ProvidableKey`,
103 |   /// containing type information and the caller's `function`.
104 |   public static func derive<V: Providable, K: ProvidableKey & ExpressibleByStringLiteral>(
    |                             `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |     function: String = #function
106 |   ) -> Provider<K, V> where K.StringLiteralType == String {
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/Core.swift:8:42: note: 'V' previously declared here
  6 |
  7 | /// Adds type information to a `ProvidableKey`.
  8 | public struct Provider<K: ProvidableKey, V: Providable>: CustomDebugStringConvertible {
    |                                          `- note: 'V' previously declared here
  9 |   /// Type of `Providable`s that will be associated with `Provider.key`.
 10 |   public typealias Value = V
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/CoreExtensions.swift:104:44: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |   /// - Returns: A new `Provider` with a `String` as `ProvidableKey`,
103 |   /// containing type information and the caller's `function`.
104 |   public static func derive<V: Providable, K: ProvidableKey & ExpressibleByStringLiteral>(
    |                                            `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |     function: String = #function
106 |   ) -> Provider<K, V> where K.StringLiteralType == String {
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/Core.swift:8:24: note: 'K' previously declared here
  6 |
  7 | /// Adds type information to a `ProvidableKey`.
  8 | public struct Provider<K: ProvidableKey, V: Providable>: CustomDebugStringConvertible {
    |                        `- note: 'K' previously declared here
  9 |   /// Type of `Providable`s that will be associated with `Provider.key`.
 10 |   public typealias Value = V
[10/14] Compiling EasyInject Core.swift
[11/14] Compiling EasyInject AnyInjector.swift
[12/14] Compiling EasyInject ComposedInjector.swift
[13/14] Compiling EasyInject CoreExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/CoreExtensions.swift:104:29: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |   /// - Returns: A new `Provider` with a `String` as `ProvidableKey`,
103 |   /// containing type information and the caller's `function`.
104 |   public static func derive<V: Providable, K: ProvidableKey & ExpressibleByStringLiteral>(
    |                             `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |     function: String = #function
106 |   ) -> Provider<K, V> where K.StringLiteralType == String {
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/Core.swift:8:42: note: 'V' previously declared here
  6 |
  7 | /// Adds type information to a `ProvidableKey`.
  8 | public struct Provider<K: ProvidableKey, V: Providable>: CustomDebugStringConvertible {
    |                                          `- note: 'V' previously declared here
  9 |   /// Type of `Providable`s that will be associated with `Provider.key`.
 10 |   public typealias Value = V
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/CoreExtensions.swift:104:44: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |   /// - Returns: A new `Provider` with a `String` as `ProvidableKey`,
103 |   /// containing type information and the caller's `function`.
104 |   public static func derive<V: Providable, K: ProvidableKey & ExpressibleByStringLiteral>(
    |                                            `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |     function: String = #function
106 |   ) -> Provider<K, V> where K.StringLiteralType == String {
/Users/admin/builder/spi-builder-workspace/Sources/EasyInject/Core.swift:8:24: note: 'K' previously declared here
  6 |
  7 | /// Adds type information to a `ProvidableKey`.
  8 | public struct Provider<K: ProvidableKey, V: Providable>: CustomDebugStringConvertible {
    |                        `- note: 'K' previously declared here
  9 |   /// Type of `Providable`s that will be associated with `Provider.key`.
 10 |   public typealias Value = V
[14/14] Compiling EasyInject StrictlyInjectedProvider.swift
Build complete! (0.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EasyInject",
  "name" : "EasyInject",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EasyInject",
      "targets" : [
        "EasyInject"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EasyInjectTests",
      "module_type" : "SwiftTarget",
      "name" : "EasyInjectTests",
      "path" : "Tests/EasyInjectTests",
      "sources" : [
        "AnyInjectorTests.swift",
        "AnyMutableInjectorTests.swift",
        "ComposedInjectorTests.swift",
        "EasyInjectTests.swift",
        "GenericProvidableKeyTests.swift",
        "GlobalInjectorTests.swift",
        "InjectionErrorTests.swift",
        "InjectorTestCase.swift",
        "LazyInjectorTests.swift",
        "MutableInjectorTestCase.swift",
        "StrictInjectorTests.swift"
      ],
      "target_dependencies" : [
        "EasyInject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EasyInject",
      "module_type" : "SwiftTarget",
      "name" : "EasyInject",
      "path" : "Sources/EasyInject",
      "product_memberships" : [
        "EasyInject"
      ],
      "sources" : [
        "AnyInjector.swift",
        "ComposedInjector.swift",
        "Core.swift",
        "CoreExtensions.swift",
        "Extensions.swift",
        "GenericProvidableKey.swift",
        "GlobalInjector.swift",
        "LazilyInjectedProvider.swift",
        "LazyInjector.swift",
        "StrictInjector.swift",
        "StrictlyInjectedProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.