The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LoadableViews, reference main (7b6d7b), with Swift 5.10 for Linux on 24 Jul 2025 19:14:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 7b6d7b9 Bump nokogiri from 1.18.8 to 1.18.9 (#24)
Cloned https://github.com/MLSDev/LoadableViews.git
Revision (git rev-parse @):
7b6d7b96d6a9e8c4d7495be70037da7b21b664a3
SUCCESS checkout https://github.com/MLSDev/LoadableViews.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/MLSDev/LoadableViews.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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+macOS.swift
[4/6] Compiling LoadableViews LoadableView+UIKit.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
BUILD FAILURE 5.10 linux