Build Information
Failed to build DIKit, reference 3.0.3 (5757ca
), with Swift 5.8 for Linux on 22 Oct 2024 13:38:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path: $PWD
https://github.com/NikSativa/DIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:06f9196eb0a58d9e2ef145681487a05751c13e2e1446f508740719934c63fbe6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/NikSativa/SpryKit.git
[1/920] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git (0.23s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.3.9 (0.26s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.71s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.10s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.29s)
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
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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 DIProvider.swift
[4/31] Compiling DIKit DIState.swift
[5/31] Compiling DIKit DIStateObject.swift
[6/31] Compiling DIKit EnvParametersHolder.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 Arguments.swift
[11/31] Compiling DIKit Assembly.swift
[12/31] Compiling DIKit Container.swift
[13/31] Compiling DIKit Forwarder.swift
[14/31] Compiling DIKit Registrator.swift
[15/31] Compiling DIKit Resolver.swift
[16/31] Compiling DIKit SelfInjectable.swift
[17/31] Compiling DIKit ContainerStorage.swift
[18/31] Compiling DIKit ForwardingStorage.swift
[19/31] Compiling DIKit Storage.swift
[20/31] Compiling DIKit TransientStorage.swift
[21/31] Compiling DIKit WeakStorage.swift
[22/31] Compiling DIKit ViewControllerFactory.swift
[23/31] Compiling DIKit InstanceWrapper.swift
[24/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()
^~~~~~~~~~~~~~~~~~~
[25/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()
^~~~~~~~~~~~~~~~~~~
[26/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()
^~~~~~~~~~~~~~~~~~~
[27/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()
^~~~~~~~~~~~~~~~~~~
[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 {
^~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux