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

Failed to build DIKit, reference 3.0.3 (5757ca), with Swift 5.9 for Linux on 22 Oct 2024 13:41:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/DIKit.git
Reference: 3.0.3
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/NikSativa/DIKit
 * tag               3.0.3      -> FETCH_HEAD
HEAD is now at 5757cac new documentation
Cloned https://github.com/NikSativa/DIKit.git
Revision (git rev-parse @):
5757cacbacc4d432024411c440d21e733dc30b62
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/DIKit.git at 3.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/NikSativa/DIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:5a47d9d39a5702cbfa0ba55458353b9ccb6eb7cde0581792bc757a518ca63386
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/NikSativa/SpryKit.git
[1/920] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git (0.59s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.3.9 (0.39s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[13/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.23s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.09s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.38s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.3.9
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/28] Emitting module DIKit
/host/spi-builder-workspace/Source/ObservableResolver.swift:30:50: error: cannot find type 'ObservableObject' in scope
public final class ObservableResolver: Resolver, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
[3/31] Compiling DIKit Arguments.swift
[4/31] Compiling DIKit Assembly.swift
[5/31] Compiling DIKit Container.swift
[6/31] Compiling DIKit Forwarder.swift
[7/31] Compiling DIKit Lazy.swift
[8/31] Compiling DIKit Provider.swift
[9/31] Compiling DIKit resource_bundle_accessor.swift
[10/31] Compiling DIKit Registrator.swift
[11/31] Compiling DIKit Resolver.swift
[12/31] Compiling DIKit SelfInjectable.swift
[13/31] Compiling DIKit ContainerStorage.swift
[14/31] Compiling DIKit DIProvider.swift
[15/31] Compiling DIKit DIState.swift
[16/31] Compiling DIKit DIStateObject.swift
[17/31] Compiling DIKit EnvParametersHolder.swift
[18/31] Compiling DIKit ForwardingStorage.swift
[19/31] Compiling DIKit Storage.swift
[20/31] Compiling DIKit TransientStorage.swift
[21/31] Compiling DIKit Inject.swift
/host/spi-builder-workspace/Source/PropertyWrapper/SharedPropertyWrapper/InjectLazy.swift:27:21: error: cannot find type 'EnvParametersHolder' in scope
        let holder: EnvParametersHolder = .init()
                    ^~~~~~~~~~~~~~~~~~~
[22/31] Compiling DIKit InjectLazy.swift
/host/spi-builder-workspace/Source/PropertyWrapper/SharedPropertyWrapper/InjectLazy.swift:27:21: error: cannot find type 'EnvParametersHolder' in scope
        let holder: EnvParametersHolder = .init()
                    ^~~~~~~~~~~~~~~~~~~
[23/31] Compiling DIKit InjectProvider.swift
/host/spi-builder-workspace/Source/PropertyWrapper/SharedPropertyWrapper/InjectLazy.swift:27:21: error: cannot find type 'EnvParametersHolder' in scope
        let holder: EnvParametersHolder = .init()
                    ^~~~~~~~~~~~~~~~~~~
[24/31] Compiling DIKit InjectWrapped.swift
/host/spi-builder-workspace/Source/PropertyWrapper/SharedPropertyWrapper/InjectLazy.swift:27:21: error: cannot find type 'EnvParametersHolder' in scope
        let holder: EnvParametersHolder = .init()
                    ^~~~~~~~~~~~~~~~~~~
[25/31] Compiling DIKit WeakStorage.swift
[26/31] Compiling DIKit ViewControllerFactory.swift
[27/31] Compiling DIKit InstanceWrapper.swift
[28/31] Compiling DIKit InjectSettings.swift
/host/spi-builder-workspace/Source/ObservableResolver.swift:30:50: error: cannot find type 'ObservableObject' in scope
public final class ObservableResolver: Resolver, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
[29/31] Compiling DIKit ObservableResolver.swift
/host/spi-builder-workspace/Source/ObservableResolver.swift:30:50: error: cannot find type 'ObservableObject' in scope
public final class ObservableResolver: Resolver, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
[30/31] Compiling DIKit Options.swift
/host/spi-builder-workspace/Source/ObservableResolver.swift:30:50: error: cannot find type 'ObservableObject' in scope
public final class ObservableResolver: Resolver, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
[31/31] Compiling DIKit DIObservedObject.swift
/host/spi-builder-workspace/Source/ObservableResolver.swift:30:50: error: cannot find type 'ObservableObject' in scope
public final class ObservableResolver: Resolver, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux