Build Information
Failed to build SwiftUINavigator with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/SwiftUINavigator.git
Reference: 0.3.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/insub4067/SwiftUINavigator
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 1acfa82 hot fix
Cloned https://github.com/insub4067/SwiftUINavigator.git
Revision (git rev-parse @):
1acfa82b02073ab14c6e4cbf9e4f77e62f384eee
SUCCESS checkout https://github.com/insub4067/SwiftUINavigator.git at 0.3.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/insub4067/SwiftUINavigator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/9] Compiling SwiftUINavigator UIViewController+indentifier.swift
[4/9] Compiling SwiftUINavigator UIViewController+functional.swift
[5/9] Compiling SwiftUINavigator UIViewController+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling SwiftUINavigator Navigator.swift
[7/9] Emitting module SwiftUINavigator
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:28: error: 'View' is only available in macOS 10.15 or newer
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:17: note: add @available attribute to enclosing protocol
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:21:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil,
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:23: error: cannot find 'UIHostingController' in scope
var hController = UIHostingController<Content?>(rootView: nil)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:63: error: 'nil' requires a contextual type
var hController = UIHostingController<Content?>(rootView: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:15:20: error: cannot find type 'Navigator' in scope
let navigator: Navigator
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:37:26: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:11:57: error: cannot find type 'UIViewController' in scope
public class WrapperViewController<Content: Wrappable>: UIViewController {
^~~~~~~~~~~~~~~~
[8/9] Compiling SwiftUINavigator WrapperViewController.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:23: error: cannot find 'UIHostingController' in scope
var hController = UIHostingController<Content?>(rootView: nil)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:63: error: 'nil' requires a contextual type
var hController = UIHostingController<Content?>(rootView: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:15:20: error: cannot find type 'Navigator' in scope
let navigator: Navigator
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:37:26: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:11:57: error: cannot find type 'UIViewController' in scope
public class WrapperViewController<Content: Wrappable>: UIViewController {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:22:26: error: cannot find 'Navigator' in scope
self.navigator = Navigator()
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:25:9: error: 'super' members cannot be referenced in a root class
super.init(nibName: nil, bundle: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:27:14: error: value of type 'WrapperViewController<Content>' has no member 'identifier'
self.identifier = indentifier
~~~~ ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:28:14: error: value of type 'WrapperViewController<Content>' has no member 'view'
self.view.backgroundColor = backgroundColor ?? .systemBackground
~~~~ ^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:38:9: error: 'super' members cannot be referenced in a root class
super.viewDidAppear(animated)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:46:24: error: cannot infer contextual base in reference to member 'init'
hController = .init(rootView: content)
~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:47:49: error: value of type 'WrapperViewController<Content>' has no member 'view'
hController.view.backgroundColor = self.view.backgroundColor
~~~~ ^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:48:9: error: cannot find 'addChildAndSubView' in scope
addChildAndSubView(hController)
^~~~~~~~~~~~~~~~~~
[9/9] Compiling SwiftUINavigator Wrappable.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:28: error: 'View' is only available in macOS 10.15 or newer
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:17: note: add @available attribute to enclosing protocol
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:21:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil,
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:30: error: extra arguments at positions #1, #2, #3 in call
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:33:14: note: 'init(coder:)' declared here
required init?(coder: NSCoder) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:25:13: error: missing argument for parameter 'coder' in call
content: self,
^
coder: <#NSCoder#>,
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:33:14: note: 'init(coder:)' declared here
required init?(coder: NSCoder) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: error: value of optional type 'WrapperViewController<Self>?' must be unwrapped to a value of type 'WrapperViewController<Self>'
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: note: coalesce using '??' to provide a default when the optional value contains 'nil'
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
WrapperViewController(
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module SwiftUINavigator
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:28: error: 'View' is only available in macOS 10.15 or newer
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:17: note: add @available attribute to enclosing protocol
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:21:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil,
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:23: error: cannot find 'UIHostingController' in scope
var hController = UIHostingController<Content?>(rootView: nil)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:63: error: 'nil' requires a contextual type
var hController = UIHostingController<Content?>(rootView: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:15:20: error: cannot find type 'Navigator' in scope
let navigator: Navigator
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:37:26: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:11:57: error: cannot find type 'UIViewController' in scope
public class WrapperViewController<Content: Wrappable>: UIViewController {
^~~~~~~~~~~~~~~~
[3/4] Compiling SwiftUINavigator Wrappable.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:28: error: 'View' is only available in macOS 10.15 or newer
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:11:17: note: add @available attribute to enclosing protocol
public protocol Wrappable: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:21:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil,
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:30: error: extra arguments at positions #1, #2, #3 in call
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:33:14: note: 'init(coder:)' declared here
required init?(coder: NSCoder) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:25:13: error: missing argument for parameter 'coder' in call
content: self,
^
coder: <#NSCoder#>,
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:33:14: note: 'init(coder:)' declared here
required init?(coder: NSCoder) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: error: value of optional type 'WrapperViewController<Self>?' must be unwrapped to a value of type 'WrapperViewController<Self>'
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: note: coalesce using '??' to provide a default when the optional value contains 'nil'
WrapperViewController(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:24:9: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
WrapperViewController(
^
[4/4] Compiling SwiftUINavigator WrapperViewController.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:23: error: cannot find 'UIHostingController' in scope
var hController = UIHostingController<Content?>(rootView: nil)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:13:63: error: 'nil' requires a contextual type
var hController = UIHostingController<Content?>(rootView: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:15:20: error: cannot find type 'Navigator' in scope
let navigator: Navigator
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:20:26: error: cannot find type 'UIColor' in scope
backgroundColor: UIColor? = nil
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:37:26: error: method does not override any method from its superclass
public override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:11:57: error: cannot find type 'UIViewController' in scope
public class WrapperViewController<Content: Wrappable>: UIViewController {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:22:26: error: cannot find 'Navigator' in scope
self.navigator = Navigator()
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/Wrappable.swift:13:20: error: cannot find type 'Navigator' in scope
var navigator: Navigator? { get set }
^~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:25:9: error: 'super' members cannot be referenced in a root class
super.init(nibName: nil, bundle: nil)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:27:14: error: value of type 'WrapperViewController<Content>' has no member 'identifier'
self.identifier = indentifier
~~~~ ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:28:14: error: value of type 'WrapperViewController<Content>' has no member 'view'
self.view.backgroundColor = backgroundColor ?? .systemBackground
~~~~ ^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:38:9: error: 'super' members cannot be referenced in a root class
super.viewDidAppear(animated)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:46:24: error: cannot infer contextual base in reference to member 'init'
hController = .init(rootView: content)
~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:47:49: error: value of type 'WrapperViewController<Content>' has no member 'view'
hController.view.backgroundColor = self.view.backgroundColor
~~~~ ^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUINavigator/WrapperViewController.swift:48:9: error: cannot find 'addChildAndSubView' in scope
addChildAndSubView(hController)
^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm