The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MockingKit, reference master (b2ba1b), with Swift 6.3 for Linux on 17 Apr 2026 07:08:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsaidi/MockingKit.git
Reference: master
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/danielsaidi/MockingKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b2ba1b1 Update copyright info
Cloned https://github.com/danielsaidi/MockingKit.git
Revision (git rev-parse @):
b2ba1b1f4ce121a7ffcd3953154d75b34650a36e
SUCCESS checkout https://github.com/danielsaidi/MockingKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/danielsaidi/MockingKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling MockingKit MockPasteboard.swift
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockPasteboard.swift:59:12: warning: class 'MockPasteboard' must restate inherited '@unchecked Sendable' conformance
57 | /// This mock doesn't do anything, since this platform does not have a pasteboard.
58 | /// It's only here for documentation harmony.
59 | open class MockPasteboard: Mock {}
   |            `- warning: class 'MockPasteboard' must restate inherited '@unchecked Sendable' conformance
60 | #endif
61 |
[4/16] Compiling MockingKit Mock.swift
[5/16] Compiling MockingKit MockCall.swift
[6/16] Compiling MockingKit MockUserDefaults.swift
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:99:24: error: method does not override any method from its superclass
 97 |     }
 98 |
 99 |     open override func setValue(_ value: Any?, forKey key: String) {
    |                        `- error: method does not override any method from its superclass
100 |         setValueWithInstance(value, forKey: key)
101 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:12:12: error: conformance of 'UserDefaults' to 'Sendable' is unavailable
 10 |
 11 | /// This class can be used to mock `UserDefaults`.
 12 | open class MockUserDefaults: UserDefaults, Mockable, @unchecked Sendable {
    |            `- error: conformance of 'UserDefaults' to 'Sendable' is unavailable
 13 |
 14 |     public lazy var boolRef = MockReference(bool)
Foundation.UserDefaults:2:11: note: conformance of 'UserDefaults' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UserDefaults : @unchecked Sendable {
  |           `- note: conformance of 'UserDefaults' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:12:65: warning: conformance of 'MockUserDefaults' to protocol 'Sendable' is already unavailable
 10 |
 11 | /// This class can be used to mock `UserDefaults`.
 12 | open class MockUserDefaults: UserDefaults, Mockable, @unchecked Sendable {
    |            |                                                    `- warning: conformance of 'MockUserDefaults' to protocol 'Sendable' is already unavailable
    |            `- note: 'MockUserDefaults' inherits conformance to protocol 'Sendable' from superclass here
 13 |
 14 |     public lazy var boolRef = MockReference(bool)
[7/16] Compiling MockingKit Mockable+Reset.swift
[8/16] Compiling MockingKit Mockable.swift
[9/16] Compiling MockingKit MockReference.swift
[10/16] Compiling MockingKit Mockable+Call.swift
[11/16] Compiling MockingKit Mockable+Inspect.swift
[12/16] Compiling MockingKit Mockable+Register.swift
[13/16] Compiling MockingKit MockNotificationCenter.swift
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:59:75: error: cannot find type 'Selector' in scope
57 |     }
58 |
59 |     func mockAddObserverWithSelector(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) {
   |                                                                           `- error: cannot find type 'Selector' in scope
60 |         call(addObserverWithSelectorRef, args: (observer, aSelector, aName, anObject))
61 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:15:50: error: generic parameter 'Arguments' could not be inferred
13 |
14 |     public lazy var addObserverForNameRef = MockReference(mockAddObserverForName)
15 |     public lazy var addObserverWithSelectorRef = MockReference(mockAddObserverWithSelector)
   |                                                  `- error: generic parameter 'Arguments' could not be inferred
16 |     public lazy var postNotificationRef = MockReference(mockPostNotification)
17 |     public lazy var postNotificationNameRef = MockReference(mockPostNotificationName)
/host/spi-builder-workspace/Sources/MockingKit/MockReference.swift:12:29: note: 'Arguments' declared as parameter to type 'MockReference'
10 |
11 | /// This type can be used to create mock function references.
12 | public struct MockReference<Arguments, Result>: Identifiable {
   |                             `- note: 'Arguments' declared as parameter to type 'MockReference'
13 |
14 |     public init(_ function: @escaping (Arguments) throws -> Result) {
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:15:50: error: generic parameter 'Result' could not be inferred
13 |
14 |     public lazy var addObserverForNameRef = MockReference(mockAddObserverForName)
15 |     public lazy var addObserverWithSelectorRef = MockReference(mockAddObserverWithSelector)
   |                                                  |- error: generic parameter 'Result' could not be inferred
   |                                                  `- note: explicitly specify the generic arguments to fix this issue
16 |     public lazy var postNotificationRef = MockReference(mockPostNotification)
17 |     public lazy var postNotificationNameRef = MockReference(mockPostNotificationName)
/host/spi-builder-workspace/Sources/MockingKit/MockReference.swift:12:40: note: 'Result' declared as parameter to type 'MockReference'
10 |
11 | /// This type can be used to create mock function references.
12 | public struct MockReference<Arguments, Result>: Identifiable {
   |                                        `- note: 'Result' declared as parameter to type 'MockReference'
13 |
14 |     public init(_ function: @escaping (Arguments) throws -> Result) {
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:22:73: error: cannot find type 'Selector' in scope
20 |     public let mock = Mock()
21 |
22 |     open override func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) {
   |                                                                         `- error: cannot find type 'Selector' in scope
23 |         mockAddObserverWithSelector(observer, selector: aSelector, name: aName, object: anObject)
24 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:26:24: error: overriding non-open instance method outside of its defining module
24 |     }
25 |
26 |     open override func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
   |                        `- error: overriding non-open instance method outside of its defining module
27 |         mockAddObserverForName(name, object: obj, queue: queue, using: block)
28 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:26:24: error:  instance method 'addObserver(forName:object:queue:using:)' is declared in extension of 'NotificationCenter' and cannot be overridden
24 |     }
25 |
26 |     open override func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
   |                        `- error:  instance method 'addObserver(forName:object:queue:using:)' is declared in extension of 'NotificationCenter' and cannot be overridden
27 |         mockAddObserverForName(name, object: obj, queue: queue, using: block)
28 |     }
Foundation.NotificationCenter.addObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping @Sendable (Notification) -> Void) -> any NSObjectProtocol}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:30:24: error: overriding non-open instance method outside of its defining module
28 |     }
29 |
30 |     open override func post(_ notification: Notification) {
   |                        `- error: overriding non-open instance method outside of its defining module
31 |         mockPostNotification(notification)
32 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:30:24: error:  instance method 'post' is declared in extension of 'NotificationCenter' and cannot be overridden
28 |     }
29 |
30 |     open override func post(_ notification: Notification) {
   |                        `- error:  instance method 'post' is declared in extension of 'NotificationCenter' and cannot be overridden
31 |         mockPostNotification(notification)
32 |     }
Foundation.NotificationCenter.post:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func post(_ notification: Notification)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:34:24: error: method does not override any method from its superclass
32 |     }
33 |
34 |     open override func post(name aName: NSNotification.Name, object anObject: Any?) {
   |                        `- error: method does not override any method from its superclass
35 |         mockPostNotificationName(name: aName, object: anObject, userInfo: nil)
36 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:38:24: error: overriding non-open instance method outside of its defining module
36 |     }
37 |
38 |     open override func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable: Any]? = nil) {
   |                        `- error: overriding non-open instance method outside of its defining module
39 |         mockPostNotificationName(name: aName, object: anObject, userInfo: aUserInfo)
40 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:38:24: error:  instance method 'post(name:object:userInfo:)' is declared in extension of 'NotificationCenter' and cannot be overridden
36 |     }
37 |
38 |     open override func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable: Any]? = nil) {
   |                        `- error:  instance method 'post(name:object:userInfo:)' is declared in extension of 'NotificationCenter' and cannot be overridden
39 |         mockPostNotificationName(name: aName, object: anObject, userInfo: aUserInfo)
40 |     }
Foundation.NotificationCenter.post:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:42:24: error: overriding non-open instance method outside of its defining module
40 |     }
41 |
42 |     open override func removeObserver(_ observer: Any) {
   |                        `- error: overriding non-open instance method outside of its defining module
43 |         mockRemoveObserver(observer, name: nil, object: nil)
44 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:42:24: error:  instance method 'removeObserver' is declared in extension of 'NotificationCenter' and cannot be overridden
40 |     }
41 |
42 |     open override func removeObserver(_ observer: Any) {
   |                        `- error:  instance method 'removeObserver' is declared in extension of 'NotificationCenter' and cannot be overridden
43 |         mockRemoveObserver(observer, name: nil, object: nil)
44 |     }
Foundation.NotificationCenter.removeObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func removeObserver(_ observer: Any)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:46:24: error: overriding non-open instance method outside of its defining module
44 |     }
45 |
46 |     open override func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?) {
   |                        `- error: overriding non-open instance method outside of its defining module
47 |         mockRemoveObserver(observer, name: aName, object: anObject)
48 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:46:24: error:  instance method 'removeObserver(_:name:object:)' is declared in extension of 'NotificationCenter' and cannot be overridden
44 |     }
45 |
46 |     open override func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?) {
   |                        `- error:  instance method 'removeObserver(_:name:object:)' is declared in extension of 'NotificationCenter' and cannot be overridden
47 |         mockRemoveObserver(observer, name: aName, object: anObject)
48 |     }
Foundation.NotificationCenter.removeObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object: Any?)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:60:9: error: generic parameter 'Result' could not be inferred
58 |
59 |     func mockAddObserverWithSelector(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) {
60 |         call(addObserverWithSelectorRef, args: (observer, aSelector, aName, anObject))
   |         `- error: generic parameter 'Result' could not be inferred
61 |     }
62 |
/host/spi-builder-workspace/Sources/MockingKit/Mockable+Call.swift:116:10: note: in call to function 'call(_:args:)'
114 |     ///   - ref: The mock reference to call.
115 |     ///   - args: The arguments to call the functions with.
116 |     func call<Arguments, Result>(
    |          `- note: in call to function 'call(_:args:)'
117 |         _ ref: MockReference<Arguments, Result?>,
118 |         args: Arguments
[14/16] Compiling MockingKit AsyncMockReference.swift
[15/16] Compiling MockingKit Escaping.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/16] Emitting module MockingKit
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:59:75: error: cannot find type 'Selector' in scope
57 |     }
58 |
59 |     func mockAddObserverWithSelector(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) {
   |                                                                           `- error: cannot find type 'Selector' in scope
60 |         call(addObserverWithSelectorRef, args: (observer, aSelector, aName, anObject))
61 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:15:50: error: generic parameter 'Arguments' could not be inferred
13 |
14 |     public lazy var addObserverForNameRef = MockReference(mockAddObserverForName)
15 |     public lazy var addObserverWithSelectorRef = MockReference(mockAddObserverWithSelector)
   |                                                  `- error: generic parameter 'Arguments' could not be inferred
16 |     public lazy var postNotificationRef = MockReference(mockPostNotification)
17 |     public lazy var postNotificationNameRef = MockReference(mockPostNotificationName)
/host/spi-builder-workspace/Sources/MockingKit/MockReference.swift:12:29: note: 'Arguments' declared as parameter to type 'MockReference'
10 |
11 | /// This type can be used to create mock function references.
12 | public struct MockReference<Arguments, Result>: Identifiable {
   |                             `- note: 'Arguments' declared as parameter to type 'MockReference'
13 |
14 |     public init(_ function: @escaping (Arguments) throws -> Result) {
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:15:50: error: generic parameter 'Result' could not be inferred
13 |
14 |     public lazy var addObserverForNameRef = MockReference(mockAddObserverForName)
15 |     public lazy var addObserverWithSelectorRef = MockReference(mockAddObserverWithSelector)
   |                                                  |- error: generic parameter 'Result' could not be inferred
   |                                                  `- note: explicitly specify the generic arguments to fix this issue
16 |     public lazy var postNotificationRef = MockReference(mockPostNotification)
17 |     public lazy var postNotificationNameRef = MockReference(mockPostNotificationName)
/host/spi-builder-workspace/Sources/MockingKit/MockReference.swift:12:40: note: 'Result' declared as parameter to type 'MockReference'
10 |
11 | /// This type can be used to create mock function references.
12 | public struct MockReference<Arguments, Result>: Identifiable {
   |                                        `- note: 'Result' declared as parameter to type 'MockReference'
13 |
14 |     public init(_ function: @escaping (Arguments) throws -> Result) {
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:22:73: error: cannot find type 'Selector' in scope
20 |     public let mock = Mock()
21 |
22 |     open override func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) {
   |                                                                         `- error: cannot find type 'Selector' in scope
23 |         mockAddObserverWithSelector(observer, selector: aSelector, name: aName, object: anObject)
24 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:26:24: error: overriding non-open instance method outside of its defining module
24 |     }
25 |
26 |     open override func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
   |                        `- error: overriding non-open instance method outside of its defining module
27 |         mockAddObserverForName(name, object: obj, queue: queue, using: block)
28 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:26:24: error:  instance method 'addObserver(forName:object:queue:using:)' is declared in extension of 'NotificationCenter' and cannot be overridden
24 |     }
25 |
26 |     open override func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
   |                        `- error:  instance method 'addObserver(forName:object:queue:using:)' is declared in extension of 'NotificationCenter' and cannot be overridden
27 |         mockAddObserverForName(name, object: obj, queue: queue, using: block)
28 |     }
Foundation.NotificationCenter.addObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping @Sendable (Notification) -> Void) -> any NSObjectProtocol}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:30:24: error: overriding non-open instance method outside of its defining module
28 |     }
29 |
30 |     open override func post(_ notification: Notification) {
   |                        `- error: overriding non-open instance method outside of its defining module
31 |         mockPostNotification(notification)
32 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:30:24: error:  instance method 'post' is declared in extension of 'NotificationCenter' and cannot be overridden
28 |     }
29 |
30 |     open override func post(_ notification: Notification) {
   |                        `- error:  instance method 'post' is declared in extension of 'NotificationCenter' and cannot be overridden
31 |         mockPostNotification(notification)
32 |     }
Foundation.NotificationCenter.post:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func post(_ notification: Notification)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:34:24: error: method does not override any method from its superclass
32 |     }
33 |
34 |     open override func post(name aName: NSNotification.Name, object anObject: Any?) {
   |                        `- error: method does not override any method from its superclass
35 |         mockPostNotificationName(name: aName, object: anObject, userInfo: nil)
36 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:38:24: error: overriding non-open instance method outside of its defining module
36 |     }
37 |
38 |     open override func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable: Any]? = nil) {
   |                        `- error: overriding non-open instance method outside of its defining module
39 |         mockPostNotificationName(name: aName, object: anObject, userInfo: aUserInfo)
40 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:38:24: error:  instance method 'post(name:object:userInfo:)' is declared in extension of 'NotificationCenter' and cannot be overridden
36 |     }
37 |
38 |     open override func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable: Any]? = nil) {
   |                        `- error:  instance method 'post(name:object:userInfo:)' is declared in extension of 'NotificationCenter' and cannot be overridden
39 |         mockPostNotificationName(name: aName, object: anObject, userInfo: aUserInfo)
40 |     }
Foundation.NotificationCenter.post:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:42:24: error: overriding non-open instance method outside of its defining module
40 |     }
41 |
42 |     open override func removeObserver(_ observer: Any) {
   |                        `- error: overriding non-open instance method outside of its defining module
43 |         mockRemoveObserver(observer, name: nil, object: nil)
44 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:42:24: error:  instance method 'removeObserver' is declared in extension of 'NotificationCenter' and cannot be overridden
40 |     }
41 |
42 |     open override func removeObserver(_ observer: Any) {
   |                        `- error:  instance method 'removeObserver' is declared in extension of 'NotificationCenter' and cannot be overridden
43 |         mockRemoveObserver(observer, name: nil, object: nil)
44 |     }
Foundation.NotificationCenter.removeObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func removeObserver(_ observer: Any)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:46:24: error: overriding non-open instance method outside of its defining module
44 |     }
45 |
46 |     open override func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?) {
   |                        `- error: overriding non-open instance method outside of its defining module
47 |         mockRemoveObserver(observer, name: aName, object: anObject)
48 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockNotificationCenter.swift:46:24: error:  instance method 'removeObserver(_:name:object:)' is declared in extension of 'NotificationCenter' and cannot be overridden
44 |     }
45 |
46 |     open override func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?) {
   |                        `- error:  instance method 'removeObserver(_:name:object:)' is declared in extension of 'NotificationCenter' and cannot be overridden
47 |         mockRemoveObserver(observer, name: aName, object: anObject)
48 |     }
Foundation.NotificationCenter.removeObserver:2:13: note: overridden declaration is here
1 | class NotificationCenter {
2 | public func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object: Any?)}
  |             `- note: overridden declaration is here
3 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockPasteboard.swift:59:12: warning: class 'MockPasteboard' must restate inherited '@unchecked Sendable' conformance
57 | /// This mock doesn't do anything, since this platform does not have a pasteboard.
58 | /// It's only here for documentation harmony.
59 | open class MockPasteboard: Mock {}
   |            `- warning: class 'MockPasteboard' must restate inherited '@unchecked Sendable' conformance
60 | #endif
61 |
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:99:24: error: method does not override any method from its superclass
 97 |     }
 98 |
 99 |     open override func setValue(_ value: Any?, forKey key: String) {
    |                        `- error: method does not override any method from its superclass
100 |         setValueWithInstance(value, forKey: key)
101 |     }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:12:12: error: conformance of 'UserDefaults' to 'Sendable' is unavailable
 10 |
 11 | /// This class can be used to mock `UserDefaults`.
 12 | open class MockUserDefaults: UserDefaults, Mockable, @unchecked Sendable {
    |            `- error: conformance of 'UserDefaults' to 'Sendable' is unavailable
 13 |
 14 |     public lazy var boolRef = MockReference(bool)
Foundation.UserDefaults:2:11: note: conformance of 'UserDefaults' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UserDefaults : @unchecked Sendable {
  |           `- note: conformance of 'UserDefaults' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MockingKit/Mocks/MockUserDefaults.swift:12:65: warning: conformance of 'MockUserDefaults' to protocol 'Sendable' is already unavailable
 10 |
 11 | /// This class can be used to mock `UserDefaults`.
 12 | open class MockUserDefaults: UserDefaults, Mockable, @unchecked Sendable {
    |            |                                                    `- warning: conformance of 'MockUserDefaults' to protocol 'Sendable' is already unavailable
    |            `- note: 'MockUserDefaults' inherits conformance to protocol 'Sendable' from superclass here
 13 |
 14 |     public lazy var boolRef = MockReference(bool)
BUILD FAILURE 6.3 linux