Build Information
Failed to build DIKit, reference main (5757ca
), with Swift 5.10 for Linux on 22 Oct 2024 13:39:19 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.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: 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.10
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.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.20s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.3.9 (0.31s)
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 (0.89s)
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.34s)
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/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
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 Arguments.swift
[6/33] Compiling DIKit Assembly.swift
[7/33] Compiling DIKit Container.swift
[8/33] Compiling DIKit Forwarder.swift
[9/33] Compiling DIKit WeakStorage.swift
[10/33] Compiling DIKit ViewControllerFactory.swift
[11/33] Compiling DIKit InstanceWrapper.swift
[12/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 {
^~~~~~~~~~~~~~~~
[13/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 {
^~~~~~~~~~~~~~~~
[14/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 {
^~~~~~~~~~~~~~~~
[15/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 {
^~~~~~~~~~~~~~~~
[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 DIProvider.swift
[21/33] Compiling DIKit DIState.swift
[22/33] Compiling DIKit DIStateObject.swift
[23/33] Compiling DIKit EnvParametersHolder.swift
[24/33] Compiling DIKit ForwardingStorage.swift
[25/33] Compiling DIKit Storage.swift
[26/33] Compiling DIKit TransientStorage.swift
[27/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()
^~~~~~~~~~~~~~~~~~~
[28/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()
^~~~~~~~~~~~~~~~~~~
[29/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()
^~~~~~~~~~~~~~~~~~~
[30/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()
^~~~~~~~~~~~~~~~~~~
[31/33] Compiling DIKit Lazy.swift
[32/33] Compiling DIKit Provider.swift
[33/33] Compiling DIKit resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 linux