Build Information
Failed to build Ariadne, reference main (355f77
), with Swift 6.1 for Linux on 26 Apr 2025 01:12:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DenTelezhkin/Ariadne.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/DenTelezhkin/Ariadne
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 355f77b Xcode 13, new CI setup.
Cloned https://github.com/DenTelezhkin/Ariadne.git
Revision (git rev-parse @):
355f77b779c78d919797138aa64fd87c7099331d
SUCCESS checkout https://github.com/DenTelezhkin/Ariadne.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/DenTelezhkin/Ariadne.git
https://github.com/DenTelezhkin/Ariadne.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Ariadne",
"name" : "Ariadne",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Ariadne",
"targets" : [
"Ariadne"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"4.2"
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Source/Tests",
"sources" : [
"TestsAppKit.swift",
"TestsUIKit.swift"
],
"target_dependencies" : [
"Ariadne"
],
"type" : "test"
},
{
"c99name" : "Ariadne",
"module_type" : "SwiftTarget",
"name" : "Ariadne",
"path" : "Source/Ariadne",
"product_memberships" : [
"Ariadne"
],
"sources" : [
"AnyBuilder.swift",
"Ariadne.swift",
"BaseTransition.swift",
"CurrentlyVisibleViewFinder.swift",
"NavigationTransition.swift",
"NavigationViewBuilder.swift",
"PresentationTransition.swift",
"RootViewTransition.swift",
"Route.swift",
"SplitViewBuilder.swift",
"TabBarViewBuilder.swift",
"UpdatableViewFinder.swift",
"ViewControllerBuilder.swift",
"ViewTransition.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling Ariadne Route.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
63 | context: Builder.Context,
64 | completion: ((Bool) -> Void)? = nil) {
65 | guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
| `- error: 'nil' requires a contextual type
66 | completion?(false)
67 | return
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
71 | case .hide:
72 | prepareForHideTransition?(visibleView, transition)
73 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
74 | case .show:
75 | guard let viewToShow = try? builder.build(with: context) else {
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
80 | case .custom:
81 | prepareForCustomTransition?(visibleView, transition)
82 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
83 | }
84 | }
[4/16] Compiling Ariadne SplitViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
63 | context: Builder.Context,
64 | completion: ((Bool) -> Void)? = nil) {
65 | guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
| `- error: 'nil' requires a contextual type
66 | completion?(false)
67 | return
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
71 | case .hide:
72 | prepareForHideTransition?(visibleView, transition)
73 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
74 | case .show:
75 | guard let viewToShow = try? builder.build(with: context) else {
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
80 | case .custom:
81 | prepareForCustomTransition?(visibleView, transition)
82 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
83 | }
84 | }
[5/17] Compiling Ariadne ViewControllerBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
80 |
81 | /// View, that should not be built. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
82 | open class NonBuildableView: ViewController {}
| `- error: cannot find type 'ViewController' in scope
83 |
84 | /// Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
99 |
100 | /// Class, that can be used to build a `View` using provided closure.
101 | open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
| `- error: cannot find type 'ViewController' in scope
102 |
103 | /// Builds a `View`.
[6/17] Compiling Ariadne TabBarViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
[7/17] Compiling Ariadne UpdatableViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
[8/17] Compiling Ariadne NavigationTransition.swift
[9/17] Compiling Ariadne NavigationViewBuilder.swift
[10/17] Compiling Ariadne PresentationTransition.swift
[11/17] Compiling Ariadne RootViewTransition.swift
[12/17] Compiling Ariadne BaseTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
[13/17] Compiling Ariadne CurrentlyVisibleViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/17] Emitting module Ariadne
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
80 |
81 | /// View, that should not be built. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
82 | open class NonBuildableView: ViewController {}
| `- error: cannot find type 'ViewController' in scope
83 |
84 | /// Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
99 |
100 | /// Class, that can be used to build a `View` using provided closure.
101 | open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
| `- error: cannot find type 'ViewController' in scope
102 |
103 | /// Builds a `View`.
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
[15/17] Compiling Ariadne AnyBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
[16/17] Compiling Ariadne Ariadne.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
[17/17] Compiling Ariadne ViewTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Ariadne BaseTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
[3/15] Compiling Ariadne CurrentlyVisibleViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
[4/15] Compiling Ariadne TabBarViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
[5/15] Compiling Ariadne UpdatableViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
[6/15] Compiling Ariadne ViewControllerBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
80 |
81 | /// View, that should not be built. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
82 | open class NonBuildableView: ViewController {}
| `- error: cannot find type 'ViewController' in scope
83 |
84 | /// Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
99 |
100 | /// Class, that can be used to build a `View` using provided closure.
101 | open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
| `- error: cannot find type 'ViewController' in scope
102 |
103 | /// Builds a `View`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Emitting module Ariadne
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
80 |
81 | /// View, that should not be built. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
82 | open class NonBuildableView: ViewController {}
| `- error: cannot find type 'ViewController' in scope
83 |
84 | /// Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - `PopNavigationTransition`, or `DismissTransition`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
99 |
100 | /// Class, that can be used to build a `View` using provided closure.
101 | open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
| `- error: cannot find type 'ViewController' in scope
102 |
103 | /// Builds a `View`.
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
[8/16] Compiling Ariadne AnyBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
[9/16] Compiling Ariadne Ariadne.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
33 |
34 | /// Closure, that constructs `ViewController`.
35 | let builder: () throws -> ViewController
| `- error: cannot find type 'ViewController' in scope
36 |
37 | /// Creates `AnyBuilder` instance.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
51 | /// Creates `AnyBuilder` instance
52 | /// - Parameter buildingBy: closure to build `ViewController` when Route is executed.
53 | public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
| `- error: cannot find type 'ViewController' in scope
54 | self.builder = { try buildingBy() }
55 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
57 | /// Builds `ViewController` by running `builder` closure.
58 | /// - Parameter context: context is always Void, because Builder and Context types have been erased and are unknown at this point.
59 | public func build(with context: ()) throws -> ViewController {
| `- error: cannot find type 'ViewController' in scope
60 | return try builder()
61 | }
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
30 | /// `builder.asAnyBuilder`
31 | /// which wraps builder in the `AnyBuilder`, which can be now used as return type that is much shorter.
32 | public struct AnyBuilder: ViewControllerBuilder {
| |- error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
| `- note: add stubs for conformance
33 |
34 | /// Closure, that constructs `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- note: protocol requires nested type 'ViewType'
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
56 | associatedtype Context
| `- note: protocol requires nested type 'Context'
57 |
58 | /// Builds a `View` using provided `Context` or throws an error, if building process was not successful
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
44 |
45 | /// Root view in current view hierarchy.
46 | var rootViewController: ViewController? { get }
| `- error: cannot find type 'ViewController' in scope
47 | }
48 |
[10/16] Compiling Ariadne PresentationTransition.swift
[11/16] Compiling Ariadne RootViewTransition.swift
[12/16] Compiling Ariadne NavigationTransition.swift
[13/16] Compiling Ariadne NavigationViewBuilder.swift
[14/16] Compiling Ariadne Route.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
63 | context: Builder.Context,
64 | completion: ((Bool) -> Void)? = nil) {
65 | guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
| `- error: 'nil' requires a contextual type
66 | completion?(false)
67 | return
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
71 | case .hide:
72 | prepareForHideTransition?(visibleView, transition)
73 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
74 | case .show:
75 | guard let viewToShow = try? builder.build(with: context) else {
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
80 | case .custom:
81 | prepareForCustomTransition?(visibleView, transition)
82 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
83 | }
84 | }
[15/16] Compiling Ariadne SplitViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
51 |
52 | /// Type of `View`, that this `ViewControllerBuilder` can build.
53 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
54 |
55 | /// Argument type, that `ViewBuilder` needs to build a `ViewController`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
36 |
37 | /// Closure, that is called prior to executing .hide transition
38 | open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
39 |
40 | /// Closure, that is called prior to executing .show transition
41 | open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
| `- error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
42 |
43 | /// Closure, that is called prior to executing a .custom transition
44 | open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Creates Route with specified builder and transition.
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
42 |
43 | /// Type of `View` to search for
44 | associatedtype ViewType: ViewController
| `- error: cannot find type 'ViewController' in scope
45 |
46 | /// Argument type, that can be used to update a `View`.
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
63 | context: Builder.Context,
64 | completion: ((Bool) -> Void)? = nil) {
65 | guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
| `- error: 'nil' requires a contextual type
66 | completion?(false)
67 | return
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
71 | case .hide:
72 | prepareForHideTransition?(visibleView, transition)
73 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
74 | case .show:
75 | guard let viewToShow = try? builder.build(with: context) else {
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
80 | case .custom:
81 | prepareForCustomTransition?(visibleView, transition)
82 | transition.perform(with: nil, on: visibleView, completion: completion)
| `- error: 'nil' requires a contextual type
83 | }
84 | }
[16/16] Compiling Ariadne ViewTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
35 | /// - Parameter startingFrom: root view to start searching from.
36 | /// - Returns: currently visible view or nil, if it was not found.
37 | func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
| `- error: cannot find type 'ViewController' in scope
38 | }
39 |
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
56 | /// - visibleView: Currently visible view.
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
| `- error: cannot find type 'ViewController' in scope
59 | on visibleView: ViewController?,
60 | completion: ((Bool) -> Void)?)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
57 | /// - completion: closure to be called, once transition is completed.
58 | func perform(with view: ViewController?,
59 | on visibleView: ViewController?,
| `- error: cannot find type 'ViewController' in scope
60 | completion: ((Bool) -> Void)?)
61 | }
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
77 |
78 | /// This method is not expected to be called and asserts when it is.
79 | public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
| `- error: cannot find type 'ViewController' in scope
80 | assertionFailure("NonTransition should not be asked to perform transition")
81 | completion?(false)
BUILD FAILURE 6.1 linux