Build Information
Failed to build Umbrella, reference master (9f7999
), with Swift 6.0 for Linux on 1 Nov 2024 08:28:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devxoul/Umbrella.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/devxoul/Umbrella
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9f7999c Bump version to 0.12.0
Cloned https://github.com/devxoul/Umbrella.git
Revision (git rev-parse @):
9f7999ca085519b0a8c1d06ef6a05bd53639fb4b
SUCCESS checkout https://github.com/devxoul/Umbrella.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/devxoul/Umbrella.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Compiling Umbrella Umbrella.swift
[15/16] Emitting module Umbrella
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:25:17: error: cannot find type 'Selector' in scope
23 | }
24 |
25 | var selector: Selector {
| `- error: cannot find type 'Selector' in scope
26 | return NSSelectorFromString(self.selectorName)
27 | }
[16/16] Compiling Umbrella RuntimeProviderType.swift
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:25:17: error: cannot find type 'Selector' in scope
23 | }
24 |
25 | var selector: Selector {
| `- error: cannot find type 'Selector' in scope
26 | return NSSelectorFromString(self.selectorName)
27 | }
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:20:55: error: cannot find 'NSSelectorFromString' in scope
18 | var instance: AnyObject? {
19 | guard let cls = self.cls else { return nil }
20 | guard let sel = self.instanceSelectorName.flatMap(NSSelectorFromString) else { return nil }
| `- error: cannot find 'NSSelectorFromString' in scope
21 | guard cls.responds(to: sel) else { return nil }
22 | return cls.perform(sel)?.takeUnretainedValue()
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:20:55: error: converting non-escaping value to '(String) throws(E) -> U?' may allow it to escape
18 | var instance: AnyObject? {
19 | guard let cls = self.cls else { return nil }
20 | guard let sel = self.instanceSelectorName.flatMap(NSSelectorFromString) else { return nil }
| `- error: converting non-escaping value to '(String) throws(E) -> U?' may allow it to escape
21 | guard cls.responds(to: sel) else { return nil }
22 | return cls.perform(sel)?.takeUnretainedValue()
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:20:47: error: generic parameter 'E' could not be inferred
18 | var instance: AnyObject? {
19 | guard let cls = self.cls else { return nil }
20 | guard let sel = self.instanceSelectorName.flatMap(NSSelectorFromString) else { return nil }
| `- error: generic parameter 'E' could not be inferred
21 | guard cls.responds(to: sel) else { return nil }
22 | return cls.perform(sel)?.takeUnretainedValue()
Swift.Optional:2:17: note: in call to function 'flatMap'
1 | extension Optional {
2 | public func flatMap<E, U>(_ transform: (Wrapped) throws(E) -> U?) throws(E) -> U? where E : Error, U : ~Copyable
| `- note: in call to function 'flatMap'
3 | }
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:21:15: error: type 'NSObject' has no member 'responds'
19 | guard let cls = self.cls else { return nil }
20 | guard let sel = self.instanceSelectorName.flatMap(NSSelectorFromString) else { return nil }
21 | guard cls.responds(to: sel) else { return nil }
| `- error: type 'NSObject' has no member 'responds'
22 | return cls.perform(sel)?.takeUnretainedValue()
23 | }
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:22:16: error: type 'NSObject' has no member 'perform'
20 | guard let sel = self.instanceSelectorName.flatMap(NSSelectorFromString) else { return nil }
21 | guard cls.responds(to: sel) else { return nil }
22 | return cls.perform(sel)?.takeUnretainedValue()
| `- error: type 'NSObject' has no member 'perform'
23 | }
24 |
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:32:23: error: value of type 'AnyObject' has no member 'responds'
30 | guard let cls = self.cls else { return false }
31 | if let instance = self.instance {
32 | return instance.responds(to: self.selector)
| `- error: value of type 'AnyObject' has no member 'responds'
33 | } else {
34 | return cls.responds(to: self.selector)
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:34:18: error: type 'NSObject' has no member 'responds'
32 | return instance.responds(to: self.selector)
33 | } else {
34 | return cls.responds(to: self.selector)
| `- error: type 'NSObject' has no member 'responds'
35 | }
36 | }
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:41:20: error: value of type 'AnyObject' has no member 'perform'
39 | guard self.responds else { return }
40 | if let instance = self.instance {
41 | _ = instance.perform(self.selector, with: eventName, with: parameters)
| `- error: value of type 'AnyObject' has no member 'perform'
42 | } else {
43 | _ = self.cls?.perform(self.selector, with: eventName, with: parameters)
/host/spi-builder-workspace/Sources/Umbrella/RuntimeProviderType.swift:43:21: error: type 'NSObject' has no member 'perform'
41 | _ = instance.perform(self.selector, with: eventName, with: parameters)
42 | } else {
43 | _ = self.cls?.perform(self.selector, with: eventName, with: parameters)
| `- error: type 'NSObject' has no member 'perform'
44 | }
45 | }
BUILD FAILURE 6.0 linux