Build Information
Failed to build Ariadne with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DenTelezhkin/Ariadne.git
Reference: main
Cloned https://github.com/DenTelezhkin/Ariadne.git into spi-builder-workspace
SUCCESS checkout https://github.com/DenTelezhkin/Ariadne.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/14] Compiling Ariadne PresentationTransition.swift
[2/14] Compiling Ariadne RootViewTransition.swift
[3/15] Compiling Ariadne ViewTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
func perform(with view: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
on visibleView: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
^~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module Ariadne
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
let builder: () throws -> ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
public func build(with context: ()) throws -> ViewController {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
public struct AnyBuilder: ViewControllerBuilder {
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'; do you want to add it?
associatedtype ViewType: ViewController
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:56:20: note: protocol requires nested type 'Context'; do you want to add it?
associatedtype Context
^
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
var rootViewController: ViewController? { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
open class NonBuildableView: ViewController {}
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
func perform(with view: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
on visibleView: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:36: error: cannot find type 'ViewController' in scope
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:79:69: error: cannot find type 'ViewController' in scope
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?) {
^~~~~~~~~~~~~~
[5/15] Compiling Ariadne BaseTransition.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
[6/15] Compiling Ariadne CurrentlyVisibleViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
[7/15] Compiling Ariadne NavigationTransition.swift
[8/15] Compiling Ariadne NavigationViewBuilder.swift
[9/15] Compiling Ariadne ViewControllerBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:82:30: error: cannot find type 'ViewController' in scope
open class NonBuildableView: ViewController {}
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:101:35: error: cannot find type 'ViewController' in scope
open class InstanceViewBuilder<T: ViewController>: ViewControllerBuilder {
^~~~~~~~~~~~~~
[10/15] Compiling Ariadne Route.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
^
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
func perform(with view: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
on visibleView: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
transition.perform(with: nil, on: visibleView, completion: completion)
^
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
transition.perform(with: nil, on: visibleView, completion: completion)
^
[11/15] Compiling Ariadne SplitViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:38:57: error: cannot find type 'ViewController' in scope
open var prepareForHideTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:41:104: error: cannot find type 'ViewController' in scope
open var prepareForShowTransition: ((_ view: Builder.ViewType, _ transition: Transition, _ toView: ViewController?) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:44:59: error: cannot find type 'ViewController' in scope
open var prepareForCustomTransition: ((_ visibleView: ViewController, _ transition: Transition) -> Void)?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:65:107: error: 'nil' requires a contextual type
guard let visibleView = (transition.viewFinder ?? viewFinder)?.currentlyVisibleView(startingFrom: nil) else {
^
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:58:29: error: cannot find type 'ViewController' in scope
func perform(with view: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewTransition.swift:59:34: error: cannot find type 'ViewController' in scope
on visibleView: ViewController?,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Route.swift:73:38: error: 'nil' requires a contextual type
transition.perform(with: nil, on: visibleView, completion: completion)
^
/host/spi-builder-workspace/Source/Ariadne/Route.swift:82:38: error: 'nil' requires a contextual type
transition.perform(with: nil, on: visibleView, completion: completion)
^
[12/15] Compiling Ariadne AnyBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
let builder: () throws -> ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
public func build(with context: ()) throws -> ViewController {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
public struct AnyBuilder: ViewControllerBuilder {
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'; do you want to add it?
associatedtype ViewType: ViewController
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:56:20: note: protocol requires nested type 'Context'; do you want to add it?
associatedtype Context
^
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
var rootViewController: ViewController? { get }
^~~~~~~~~~~~~~
[13/15] Compiling Ariadne Ariadne.swift
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:35:31: error: cannot find type 'ViewController' in scope
let builder: () throws -> ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:53:20: error: cannot find type 'ViewController' in scope
public init<T: ViewController>(buildingBy: @escaping () throws -> T) {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:59:51: error: cannot find type 'ViewController' in scope
public func build(with context: ()) throws -> ViewController {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/AnyBuilder.swift:32:15: error: type 'AnyBuilder' does not conform to protocol 'ViewControllerBuilder'
public struct AnyBuilder: ViewControllerBuilder {
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:53:20: note: protocol requires nested type 'ViewType'; do you want to add it?
associatedtype ViewType: ViewController
^
/host/spi-builder-workspace/Source/Ariadne/ViewControllerBuilder.swift:56:20: note: protocol requires nested type 'Context'; do you want to add it?
associatedtype Context
^
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:65: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:37:45: error: cannot find type 'ViewController' in scope
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Ariadne/Ariadne.swift:46:29: error: cannot find type 'ViewController' in scope
var rootViewController: ViewController? { get }
^~~~~~~~~~~~~~
[14/15] Compiling Ariadne TabBarViewBuilder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
[15/15] Compiling Ariadne UpdatableViewFinder.swift
/host/spi-builder-workspace/Source/Ariadne/UpdatableViewFinder.swift:44:30: error: cannot find type 'ViewController' in scope
associatedtype ViewType: ViewController
^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1