The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LoadableViews with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MLSDev/LoadableViews.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/MLSDev/LoadableViews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 47e168b Bump nokogiri from 1.14.3 to 1.16.2 (#15)
Cloned https://github.com/MLSDev/LoadableViews.git
Revision (git rev-parse @):
47e168b02f85c41e43b34e9cba94812ca5c71bd0
SUCCESS checkout https://github.com/MLSDev/LoadableViews.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/MLSDev/LoadableViews.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling LoadableViews LoadableView+UIKit.swift
[4/6] Compiling LoadableViews LoadableView+macOS.swift
[5/6] 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'; add a stub for conformance
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
    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 }
        ^
[6/6] 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'; add a stub for conformance
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
    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: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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'; add a stub for conformance
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
    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 }
        ^
[3/3] 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'; add a stub for conformance
    var nibName : String { get }
        ^
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:54:9: note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
    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: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2