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 3.6.1 (ff30ea), with Swift 6.0 for Linux on 28 Nov 2024 01:45: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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MLSDev/LoadableViews.git
Reference: 3.6.1
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
 * tag               3.6.1      -> FETCH_HEAD
HEAD is now at ff30ea9 Releasing version 3.6.1.
Cloned https://github.com/MLSDev/LoadableViews.git
Revision (git rev-parse @):
ff30ea9900127c95557980b7026f51787aed4a17
SUCCESS checkout https://github.com/MLSDev/LoadableViews.git at 3.6.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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:40:27: error: cannot find type 'PlatformView' in scope
38 |
39 |     /// View that serves as a container for loadable view. Loadable views are added to container view in `setupNib(_:)` method.
40 |     var nibContainerView: PlatformView { get }
   |                           `- error: cannot find type 'PlatformView' in scope
41 |
42 |     /// Method that loads view from single view xib with `nibName`.
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:45:23: error: cannot find type 'PlatformView' in scope
43 |     ///
44 |     /// - returns: loaded from xib view
45 |     func loadNib() -> PlatformView
   |                       `- error: cannot find type 'PlatformView' in scope
46 |
47 |     /// Method that is used to load and configure loadableView. It is then added to `nibContainerView` as a subview. This view receives constraints of same width and height as container view.
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:57:11: error: cannot find type 'PlatformView' in scope
55 | }
56 |
57 | extension PlatformView {
   |           `- error: cannot find type 'PlatformView' in scope
58 |     /// View usually serves itself as a default container for loadable views
59 |     @objc dynamic open var nibContainerView : PlatformView { return self }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:73:21: error: initializer does not override a designated initializer from its superclass
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
72 |
73 |     public override init(frame: CGRect) {
   |                     `- error: initializer does not override a designated initializer from its superclass
74 |         super.init(frame: frame)
75 |         setupNib()
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:26: error: cannot find type 'PlatformView' in scope
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |                          `- error: cannot find type 'PlatformView' in scope
72 |
73 |     public override init(frame: CGRect) {
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |            `- error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
72 |
73 |     public override init(frame: CGRect) {
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
49 |
50 |     /// Name of .xib file to load view from.
51 |     var nibName : String { get }
   |         `- note: protocol requires property 'nibName' with type 'String'; add a stub for conformance
52 |
53 |     /// Bundle to load nib from
54 |     var bundle: Bundle { get }
   |         `- note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
55 | }
56 |
   :
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |            `- error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
72 |
73 |     public override init(frame: CGRect) {
Foundation.NSObjectProtocol:2:10: note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
1 | public protocol NSObjectProtocol : AnyObject {
2 |     func isEqual(_ object: Any?) -> Bool
  |          `- note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
3 |     var hash: Int { get }
  |         `- note: protocol requires property 'hash' with type 'Int'
4 |     func `self`() -> Self
  |          `- note: protocol requires function 'self()' with type '() -> Self'
5 |     func isProxy() -> Bool
  |          `- note: protocol requires function 'isProxy()' with type '() -> Bool'
6 |     var description: String { get }
  |         `- note: protocol requires property 'description' with type 'String'
7 |     var debugDescription: String { get }
8 | }
[6/6] Compiling LoadableViews LoadableView.swift
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:40:27: error: cannot find type 'PlatformView' in scope
38 |
39 |     /// View that serves as a container for loadable view. Loadable views are added to container view in `setupNib(_:)` method.
40 |     var nibContainerView: PlatformView { get }
   |                           `- error: cannot find type 'PlatformView' in scope
41 |
42 |     /// Method that loads view from single view xib with `nibName`.
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:45:23: error: cannot find type 'PlatformView' in scope
43 |     ///
44 |     /// - returns: loaded from xib view
45 |     func loadNib() -> PlatformView
   |                       `- error: cannot find type 'PlatformView' in scope
46 |
47 |     /// Method that is used to load and configure loadableView. It is then added to `nibContainerView` as a subview. This view receives constraints of same width and height as container view.
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:57:11: error: cannot find type 'PlatformView' in scope
55 | }
56 |
57 | extension PlatformView {
   |           `- error: cannot find type 'PlatformView' in scope
58 |     /// View usually serves itself as a default container for loadable views
59 |     @objc dynamic open var nibContainerView : PlatformView { return self }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:73:21: error: initializer does not override a designated initializer from its superclass
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
72 |
73 |     public override init(frame: CGRect) {
   |                     `- error: initializer does not override a designated initializer from its superclass
74 |         super.init(frame: frame)
75 |         setupNib()
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:26: error: cannot find type 'PlatformView' in scope
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |                          `- error: cannot find type 'PlatformView' in scope
72 |
73 |     public override init(frame: CGRect) {
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |            `- error: type 'LoadableView' does not conform to protocol 'NibLoadableProtocol'
72 |
73 |     public override init(frame: CGRect) {
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:71:12: error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
49 |
50 |     /// Name of .xib file to load view from.
51 |     var nibName : String { get }
   |         `- note: protocol requires property 'nibName' with type 'String'; add a stub for conformance
52 |
53 |     /// Bundle to load nib from
54 |     var bundle: Bundle { get }
   |         `- note: protocol requires property 'bundle' with type 'Bundle'; add a stub for conformance
55 | }
56 |
   :
69 |
70 | /// UIView subclass, that can be loaded into different xib or storyboard by simply referencing it's class.
71 | open class LoadableView: PlatformView, NibLoadableProtocol {
   |            `- error: type 'LoadableView' does not conform to protocol 'NSObjectProtocol'
72 |
73 |     public override init(frame: CGRect) {
Foundation.NSObjectProtocol:2:10: note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
1 | public protocol NSObjectProtocol : AnyObject {
2 |     func isEqual(_ object: Any?) -> Bool
  |          `- note: protocol requires function 'isEqual' with type '(Any?) -> Bool'
3 |     var hash: Int { get }
  |         `- note: protocol requires property 'hash' with type 'Int'
4 |     func `self`() -> Self
  |          `- note: protocol requires function 'self()' with type '() -> Self'
5 |     func isProxy() -> Bool
  |          `- note: protocol requires function 'isProxy()' with type '() -> Bool'
6 |     var description: String { get }
  |         `- note: protocol requires property 'description' with type 'String'
7 |     var debugDescription: String { get }
8 | }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:74:9: error: 'super' members cannot be referenced in a root class
72 |
73 |     public override init(frame: CGRect) {
74 |         super.init(frame: frame)
   |         `- error: 'super' members cannot be referenced in a root class
75 |         setupNib()
76 |     }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:79:9: error: 'super' members cannot be referenced in a root class
77 |
78 |     public required init?(coder aDecoder: NSCoder) {
79 |         super.init(coder: aDecoder)
   |         `- error: 'super' members cannot be referenced in a root class
80 |         setupNib()
81 |     }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:9: error: cannot find 'setupView' in scope
82 |
83 |     open func setupNib() {
84 |         setupView(loadNib(), inContainer: nibContainerView)
   |         `- error: cannot find 'setupView' in scope
85 |     }
86 | }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:19: error: cannot find 'loadNib' in scope
82 |
83 |     open func setupNib() {
84 |         setupView(loadNib(), inContainer: nibContainerView)
   |                   `- error: cannot find 'loadNib' in scope
85 |     }
86 | }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:84:43: error: cannot find 'nibContainerView' in scope
82 |
83 |     open func setupNib() {
84 |         setupView(loadNib(), inContainer: nibContainerView)
   |                                           `- error: cannot find 'nibContainerView' in scope
85 |     }
86 | }
/host/spi-builder-workspace/Sources/LoadableViews/LoadableView.swift:59:47: error: cannot find type 'PlatformView' in scope
57 | extension PlatformView {
58 |     /// View usually serves itself as a default container for loadable views
59 |     @objc dynamic open var nibContainerView : PlatformView { return self }
   |                                               `- error: cannot find type 'PlatformView' in scope
60 |
61 |     /// Default nibName for all UIViews, equal to name of the class.
BUILD FAILURE 6.0 linux