Build Information
Failed to build DIKit, reference main (5757ca
), with Swift 5.8 for Linux on 22 Oct 2024 13:40:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-0":/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.19s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.3.9 (0.25s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.86s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.17s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.28s)
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 ForwardingStorage.swift
[8/31] Compiling DIKit Storage.swift
[9/31] Compiling DIKit TransientStorage.swift
[10/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()
^~~~~~~~~~~~~~~~~~~
[11/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()
^~~~~~~~~~~~~~~~~~~
[12/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()
^~~~~~~~~~~~~~~~~~~
[13/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()
^~~~~~~~~~~~~~~~~~~
[14/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 {
^~~~~~~~~~~~~~~~
[15/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 {
^~~~~~~~~~~~~~~~
[16/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 {
^~~~~~~~~~~~~~~~
[17/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 {
^~~~~~~~~~~~~~~~
[18/31] Compiling DIKit Registrator.swift
[19/31] Compiling DIKit Resolver.swift
[20/31] Compiling DIKit SelfInjectable.swift
[21/31] Compiling DIKit ContainerStorage.swift
[22/31] Compiling DIKit Arguments.swift
[23/31] Compiling DIKit Assembly.swift
[24/31] Compiling DIKit Container.swift
[25/31] Compiling DIKit Forwarder.swift
[26/31] Compiling DIKit WeakStorage.swift
[27/31] Compiling DIKit ViewControllerFactory.swift
[28/31] Compiling DIKit InstanceWrapper.swift
[29/31] Compiling DIKit Lazy.swift
[30/31] Compiling DIKit Provider.swift
[31/31] Compiling DIKit resource_bundle_accessor.swift
BUILD FAILURE 5.8 linux