Build Information
Failed to build DIKit, reference 3.0.3 (5757ca
), with Swift 5.10 for Linux on 22 Oct 2024 13:39:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $PWD
https://github.com/NikSativa/DIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:5bb17dbcfcf8548eee753b07845b2378de013b2470bb445b58120b16b16ecc2b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/NikSativa/SpryKit.git
[1/920] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.17s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.3.9 (0.35s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.20s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.05s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.17s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.39s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] 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 {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Registrator.swift:40:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:54:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:72:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
[5/33] 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 {
^~~~~~~~~~~~~~~~
[6/33] 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 {
^~~~~~~~~~~~~~~~
[7/33] 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 {
^~~~~~~~~~~~~~~~
[8/33] 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 {
^~~~~~~~~~~~~~~~
[9/33] Compiling DIKit Lazy.swift
[10/33] Compiling DIKit Provider.swift
[11/33] Compiling DIKit resource_bundle_accessor.swift
[12/33] Compiling DIKit Arguments.swift
[13/33] Compiling DIKit Assembly.swift
[14/33] Compiling DIKit Container.swift
[15/33] Compiling DIKit Forwarder.swift
[16/33] Compiling DIKit Registrator.swift
/host/spi-builder-workspace/Source/Registrator.swift:40:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:54:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:72:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
[17/33] Compiling DIKit Resolver.swift
/host/spi-builder-workspace/Source/Registrator.swift:40:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:54:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:72:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
[18/33] Compiling DIKit SelfInjectable.swift
/host/spi-builder-workspace/Source/Registrator.swift:40:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:54:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:72:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
[19/33] Compiling DIKit ContainerStorage.swift
/host/spi-builder-workspace/Source/Registrator.swift:40:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:54:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
/host/spi-builder-workspace/Source/Registrator.swift:72:42: warning: main actor-isolated static property 'default' can not be referenced from a non-isolated context; this is an error in Swift 6
options: Options = .default,
^
/host/spi-builder-workspace/Source/Options.swift:40:23: note: static property declared here
public static let `default`: Options = .init(accessLevel: .default, entityKind: .default)
^
[20/33] Compiling DIKit ForwardingStorage.swift
[21/33] Compiling DIKit Storage.swift
[22/33] Compiling DIKit TransientStorage.swift
[23/33] Compiling DIKit DIProvider.swift
[24/33] Compiling DIKit DIState.swift
[25/33] Compiling DIKit DIStateObject.swift
[26/33] Compiling DIKit EnvParametersHolder.swift
[27/33] Compiling DIKit WeakStorage.swift
[28/33] Compiling DIKit ViewControllerFactory.swift
[29/33] Compiling DIKit InstanceWrapper.swift
[30/33] 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()
^~~~~~~~~~~~~~~~~~~
[31/33] 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()
^~~~~~~~~~~~~~~~~~~
[32/33] 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()
^~~~~~~~~~~~~~~~~~~
[33/33] 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()
^~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux