The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LightWeightDI, reference 0.6.0 (cfca07), with Swift 6.1 for macOS (SPM) on 15 Jul 2026 22:32:43 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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/daanibe12/LightWeightDI.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/daanibe12/LightWeightDI
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at cfca077 refactor: comment
Cloned https://github.com/daanibe12/LightWeightDI.git
Revision (git rev-parse @):
cfca0771c2d3deb072a236ac27f2a9842c23fc10
SUCCESS checkout https://github.com/daanibe12/LightWeightDI.git at 0.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/daanibe12/LightWeightDI.git
https://github.com/daanibe12/LightWeightDI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LightWeightDI",
  "name" : "LightWeightDI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "LightWeightDI",
      "targets" : [
        "LightWeightDI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LightWeightDITests",
      "module_type" : "SwiftTarget",
      "name" : "LightWeightDITests",
      "path" : "Tests/LightWeightDITests",
      "sources" : [
        "LightWeightDITests.swift"
      ],
      "target_dependencies" : [
        "LightWeightDI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LightWeightDI",
      "module_type" : "SwiftTarget",
      "name" : "LightWeightDI",
      "path" : "Sources/LightWeightDI",
      "product_memberships" : [
        "LightWeightDI"
      ],
      "sources" : [
        "LightWeightDI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/4] Compiling LightWeightDI LightWeightDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LightWeightDI/LightWeightDI.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
 22 | }
 23 |
 24 | public final class DependencyResolver {
    |                    `- note: class 'DependencyResolver' does not conform to the 'Sendable' protocol
 25 |     public static let shared = DependencyResolver()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- 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
 26 |     internal let lock = NSRecursiveLock()
 27 |     private var registrations = [String: DIRegistration]()
[4/4] Emitting module LightWeightDI
/Users/admin/builder/spi-builder-workspace/Sources/LightWeightDI/LightWeightDI.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
 22 | }
 23 |
 24 | public final class DependencyResolver {
    |                    `- note: class 'DependencyResolver' does not conform to the 'Sendable' protocol
 25 |     public static let shared = DependencyResolver()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- 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
 26 |     internal let lock = NSRecursiveLock()
 27 |     private var registrations = [String: DIRegistration]()
Build complete! (4.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LightWeightDI",
  "name" : "LightWeightDI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "LightWeightDI",
      "targets" : [
        "LightWeightDI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LightWeightDITests",
      "module_type" : "SwiftTarget",
      "name" : "LightWeightDITests",
      "path" : "Tests/LightWeightDITests",
      "sources" : [
        "LightWeightDITests.swift"
      ],
      "target_dependencies" : [
        "LightWeightDI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LightWeightDI",
      "module_type" : "SwiftTarget",
      "name" : "LightWeightDI",
      "path" : "Sources/LightWeightDI",
      "product_memberships" : [
        "LightWeightDI"
      ],
      "sources" : [
        "LightWeightDI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.