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 DependencyInjection, reference master (8e6599), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 08:27:45 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/sebastianpixel/dependencyinjection.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sebastianpixel/dependencyinjection
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8e65999 bump podspec version
Cloned https://github.com/sebastianpixel/dependencyinjection.git
Revision (git rev-parse @):
8e65999330f2cead7b0aa246792a14180c50c413
SUCCESS checkout https://github.com/sebastianpixel/dependencyinjection.git at master
Fetching https://github.com/realm/SwiftLint
[1/149893] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (33.58s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git from cache
[1/929] Fetching swiftytexttable
[76/3749] Fetching swiftytexttable, swxmlhash
[274/6078] Fetching swiftytexttable, swxmlhash, commandant
[2439/22190] Fetching swiftytexttable, swxmlhash, commandant, sourcekitten
[4730/41757] Fetching swiftytexttable, swxmlhash, commandant, sourcekitten, nimble
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.90s)
[5527/40828] Fetching swxmlhash, commandant, sourcekitten, nimble
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.95s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.95s)
[876/35679] Fetching sourcekitten, nimble
[877/50434] Fetching sourcekitten, nimble, quick
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.71s)
Fetched https://github.com/Quick/Quick.git from cache (1.71s)
Fetched https://github.com/Quick/Nimble.git from cache (1.71s)
Fetched https://github.com/jpsim/Yams.git from cache (1.71s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.38s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.60s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.59s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.59s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.61s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.61s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at master (9e5557f)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.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": "dependencyinjection",
      "name": "DependencyInjection",
      "url": "https://github.com/sebastianpixel/dependencyinjection.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/dependencyinjection",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sebastianpixel/dependencyinjection.git
[13/302] Fetching dependencyinjection
Fetched https://github.com/sebastianpixel/dependencyinjection.git from cache (0.73s)
Creating working copy for https://github.com/sebastianpixel/dependencyinjection.git
Working copy of https://github.com/sebastianpixel/dependencyinjection.git resolved at master (8e65999)
warning: '.resolve-product-dependencies': dependency 'dependencyinjection' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sebastianpixel/dependencyinjection.git
https://github.com/sebastianpixel/dependencyinjection.git
{
  "dependencies" : [
    {
      "identity" : "swiftlint",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    }
  ],
  "manifest_display_name" : "DependencyInjection",
  "name" : "DependencyInjection",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DependencyInjection",
      "targets" : [
        "DependencyInjection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DependencyInjectionTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjectionTests",
      "path" : "Tests/DependencyInjectionTests",
      "sources" : [
        "DependencyInjectionTests.swift",
        "MockTypes.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DependencyInjection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyInjection",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjection",
      "path" : "Sources/DependencyInjection",
      "product_memberships" : [
        "DependencyInjection"
      ],
      "sources" : [
        "DIContainer.swift",
        "DependencyRegistering.swift",
        "FunctionBuilders/ModuleBuilder.swift",
        "FunctionBuilders/RegistrationBuilder.swift",
        "Module.swift",
        "PropertyWrappers/Inject.swift",
        "PropertyWrappers/LazyInject.swift",
        "PropertyWrappers/MutableInject.swift",
        "PropertyWrappers/MutableLazyInject.swift",
        "ReentrantSyncQueue.swift",
        "Registrar.swift",
        "Registration.swift",
        "Registrations/New.swift",
        "Registrations/Shared.swift",
        "Resolver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/17] Compiling DependencyInjection Registration.swift
[4/17] Compiling DependencyInjection New.swift
[5/17] Compiling DependencyInjection Shared.swift
[6/18] Compiling DependencyInjection Resolver.swift
[7/18] Compiling DependencyInjection Registrar.swift
[8/18] Compiling DependencyInjection Module.swift
[9/18] Compiling DependencyInjection Inject.swift
[10/18] Compiling DependencyInjection LazyInject.swift
[11/18] Compiling DependencyInjection MutableInject.swift
[12/18] Compiling DependencyInjection MutableLazyInject.swift
[13/18] Compiling DependencyInjection ReentrantSyncQueue.swift
[14/18] Compiling DependencyInjection ModuleBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 |     public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 |     public static func buildBlock(_ registrations: Registration...) -> [Registration] {
[15/18] Compiling DependencyInjection RegistrationBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 |     public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 |     public static func buildBlock(_ registrations: Registration...) -> [Registration] {
[16/18] Compiling DependencyInjection DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     public static var resolve: Resolver { shared }
  6 |
  7 |     static var shared = DIContainer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let queue = ReentrantSyncQueue(label: "dependency_injection")
[17/18] Compiling DependencyInjection DependencyRegistering.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     public static var resolve: Resolver { shared }
  6 |
  7 |     static var shared = DIContainer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let queue = ReentrantSyncQueue(label: "dependency_injection")
[18/18] Emitting module DependencyInjection
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 |     public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
  |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 |     public static func buildBlock(_ registrations: Registration...) -> [Registration] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     public static var resolve: Resolver { shared }
  6 |
  7 |     static var shared = DIContainer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let queue = ReentrantSyncQueue(label: "dependency_injection")
Build complete! (7.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftlint",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    }
  ],
  "manifest_display_name" : "DependencyInjection",
  "name" : "DependencyInjection",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DependencyInjection",
      "targets" : [
        "DependencyInjection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DependencyInjectionTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjectionTests",
      "path" : "Tests/DependencyInjectionTests",
      "sources" : [
        "DependencyInjectionTests.swift",
        "MockTypes.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DependencyInjection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyInjection",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjection",
      "path" : "Sources/DependencyInjection",
      "product_memberships" : [
        "DependencyInjection"
      ],
      "sources" : [
        "DIContainer.swift",
        "DependencyRegistering.swift",
        "FunctionBuilders/ModuleBuilder.swift",
        "FunctionBuilders/RegistrationBuilder.swift",
        "Module.swift",
        "PropertyWrappers/Inject.swift",
        "PropertyWrappers/LazyInject.swift",
        "PropertyWrappers/MutableInject.swift",
        "PropertyWrappers/MutableLazyInject.swift",
        "ReentrantSyncQueue.swift",
        "Registrar.swift",
        "Registration.swift",
        "Registrations/New.swift",
        "Registrations/Shared.swift",
        "Resolver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.