The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LoadableViews, reference main (42f98e), with Swift 5.10 for Linux on 22 Apr 2025 09:43:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.60.2
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 42f98ee Bump nokogiri from 1.18.4 to 1.18.8 (#23)
Cloned https://github.com/MLSDev/LoadableViews.git
Revision (git rev-parse @):
42f98eef9a9a1ee0b9fd604051811d1ea8aa5a4d
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-4606859-0":/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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
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
[3/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: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling LoadableViews LoadableView+UIKit.swift
[5/6] Compiling LoadableViews LoadableView+macOS.swift
[6/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 }
        ^
error: fatalError
BUILD FAILURE 5.10 linux