The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LoadableViews with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/MLSDev/LoadableViews.git
Reference: 3.6.1
Cloned https://github.com/MLSDev/LoadableViews.git into spi-builder-workspace
SUCCESS checkout https://github.com/MLSDev/LoadableViews.git at 3.6.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/4] Compiling LoadableViews LoadableView.swift
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:57:11: error: cannot find type 'PlatformView' in scope
extension PlatformView {
          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:40:27: error: cannot find type 'PlatformView' in scope
    var nibContainerView: PlatformView { get }
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:45:23: error: cannot find type 'PlatformView' in scope
    func loadNib() -> PlatformView
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:73:21: error: initializer does not override a designated initializer from its superclass
    public override init(frame: CGRect) {
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:26: error: cannot find type 'PlatformView' in scope
open class LoadableView: PlatformView, NibLoadableProtocol {
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
open class LoadableView: PlatformView, NibLoadableProtocol {
           ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
open class LoadableView: PlatformView, NibLoadableProtocol {
           ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:51:9: note: protocol requires property 'nibName' with type 'String'; do you want to add a stub?
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; do you want to add a stub?
    var bundle: Bundle { get }
        ^
Foundation.NSObjectProtocol:2:10: note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
    func isEqual(_ object: Any?) -> Bool
         ^
Foundation.NSObjectProtocol:3:9: note: protocol requires property 'hash' with type 'Int'
    var hash: Int { get }
        ^
Foundation.NSObjectProtocol:4:10: note: protocol requires function 'self()' with type '() -> Self'
    func `self`() -> Self
         ^
Foundation.NSObjectProtocol:5:10: note: protocol requires function 'isProxy()' with type '() -> Bool'
    func isProxy() -> Bool
         ^
Foundation.NSObjectProtocol:6:9: note: protocol requires property 'description' with type 'String'
    var description: String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:74:9: error: 'super' members cannot be referenced in a root class
        super.init(frame: frame)
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:79:9: error: 'super' members cannot be referenced in a root class
        super.init(coder: aDecoder)
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:9: error: cannot find 'setupView' in scope
        setupView(loadNib(), inContainer: nibContainerView)
        ^~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:19: error: cannot find 'loadNib' in scope
        setupView(loadNib(), inContainer: nibContainerView)
                  ^~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:43: error: cannot find 'nibContainerView' in scope
        setupView(loadNib(), inContainer: nibContainerView)
                                          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:59:47: error: cannot find type 'PlatformView' in scope
    @objc dynamic open var nibContainerView : PlatformView { return self }
                                              ^~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling LoadableViews LoadableView+UIKit.swift
[3/4] Emitting module LoadableViews
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:57:11: error: cannot find type 'PlatformView' in scope
extension PlatformView {
          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:40:27: error: cannot find type 'PlatformView' in scope
    var nibContainerView: PlatformView { get }
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:45:23: error: cannot find type 'PlatformView' in scope
    func loadNib() -> PlatformView
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:73:21: error: initializer does not override a designated initializer from its superclass
    public override init(frame: CGRect) {
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:26: error: cannot find type 'PlatformView' in scope
open class LoadableView: PlatformView, NibLoadableProtocol {
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
open class LoadableView: PlatformView, NibLoadableProtocol {
           ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
open class LoadableView: PlatformView, NibLoadableProtocol {
           ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:51:9: note: protocol requires property 'nibName' with type 'String'; do you want to add a stub?
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; do you want to add a stub?
    var bundle: Bundle { get }
        ^
Foundation.NSObjectProtocol:2:10: note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
    func isEqual(_ object: Any?) -> Bool
         ^
Foundation.NSObjectProtocol:3:9: note: protocol requires property 'hash' with type 'Int'
    var hash: Int { get }
        ^
Foundation.NSObjectProtocol:4:10: note: protocol requires function 'self()' with type '() -> Self'
    func `self`() -> Self
         ^
Foundation.NSObjectProtocol:5:10: note: protocol requires function 'isProxy()' with type '() -> Bool'
    func isProxy() -> Bool
         ^
Foundation.NSObjectProtocol:6:9: note: protocol requires property 'description' with type 'String'
    var description: String { get }
        ^
[4/4] Compiling LoadableViews LoadableView+macOS.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2