Build Information
Failed to build Tart, reference main (280a31
), with Swift 5.10 for Linux on 5 May 2025 04:29:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cirruslabs/tart.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/cirruslabs/tart
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 280a31f Update docs, examples and CI to Sequoia
Cloned https://github.com/cirruslabs/tart.git
Revision (git rev-parse @):
280a31f7079e490b36e4cce91a860015e47d366c
SUCCESS checkout https://github.com/cirruslabs/tart.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/cirruslabs/tart.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/mhdhejazi/Dynamic
[1/230] Fetching dynamic
Fetched https://github.com/mhdhejazi/Dynamic from cache (0.23s)
Fetching https://github.com/cfilipov/TextTable
[1/210] Fetching texttable
Fetched https://github.com/cfilipov/TextTable from cache (0.17s)
Fetching https://github.com/jozefizso/swift-xattr
Fetching https://github.com/fumoboy007/swift-retry
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/orchetect/SwiftRadix
Fetching https://github.com/sersoft-gmbh/swift-sysctl.git
Fetching https://github.com/getsentry/sentry-cocoa
[1/293] Fetching semaphore
[294/1304] Fetching semaphore, swiftradix
Fetched https://github.com/orchetect/SwiftRadix from cache (0.23s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/229] Fetching swift-retry
[230/3788] Fetching swift-retry, swift-sysctl
[1512/4003] Fetching swift-retry, swift-sysctl, swift-xattr
Fetched https://github.com/jozefizso/swift-xattr from cache (0.34s)
Fetching https://github.com/apple/swift-atomics.git
[3504/3788] Fetching swift-retry, swift-sysctl
Fetched https://github.com/fumoboy007/swift-retry from cache (0.45s)
Fetching https://github.com/antlr/antlr4
Fetched https://github.com/groue/Semaphore from cache (0.45s)
Fetched https://github.com/sersoft-gmbh/swift-sysctl.git from cache (0.45s)
Fetching https://github.com/malcommac/SwiftDate
Fetching https://github.com/apple/swift-algorithms
[1/1705] Fetching swift-atomics
[19/49291] Fetching swift-atomics, swiftformat
[54/55209] Fetching swift-atomics, swiftformat, swift-algorithms
[1897/65415] Fetching swift-atomics, swiftformat, swift-algorithms, swiftdate
[11817/217579] Fetching swift-atomics, swiftformat, swift-algorithms, swiftdate, sentry-cocoa
[13874/385245] Fetching swift-atomics, swiftformat, swift-algorithms, swiftdate, sentry-cocoa, antlr4
Fetched https://github.com/apple/swift-algorithms from cache (0.51s)
Fetching https://github.com/apple/swift-argument-parser
[16980/379327] Fetching swift-atomics, swiftformat, swiftdate, sentry-cocoa, antlr4
Fetched https://github.com/apple/swift-atomics.git from cache (0.63s)
[15750/377622] Fetching swiftformat, swiftdate, sentry-cocoa, antlr4
[33741/392578] Fetching swiftformat, swiftdate, sentry-cocoa, antlr4, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.10s)
[197765/377622] Fetching swiftformat, swiftdate, sentry-cocoa, antlr4
Fetched https://github.com/malcommac/SwiftDate from cache (2.96s)
[230924/367416] Fetching swiftformat, sentry-cocoa, antlr4
Fetched https://github.com/getsentry/sentry-cocoa from cache (7.46s)
[189556/215252] Fetching swiftformat, antlr4
Fetched https://github.com/antlr/antlr4 from cache (7.89s)
[22842/47586] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (22.92s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.60s)
Computing version for https://github.com/antlr/antlr4
Computed https://github.com/antlr/antlr4 at 4.13.2 (0.79s)
Computing version for https://github.com/malcommac/SwiftDate
Computed https://github.com/malcommac/SwiftDate at 7.0.0 (0.63s)
Computing version for https://github.com/jozefizso/swift-xattr
Computed https://github.com/jozefizso/swift-xattr at 3.0.1 (0.69s)
Computing version for https://github.com/fumoboy007/swift-retry
Computed https://github.com/fumoboy007/swift-retry at 0.2.4 (0.64s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.61s)
Computing version for https://github.com/orchetect/SwiftRadix
Computed https://github.com/orchetect/SwiftRadix at 1.3.2 (0.65s)
Computing version for https://github.com/sersoft-gmbh/swift-sysctl.git
Computed https://github.com/sersoft-gmbh/swift-sysctl.git at 1.9.0 (0.62s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.58s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.48s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 8.49.2 (1.13s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.6 (0.51s)
Creating working copy for https://github.com/antlr/antlr4
Working copy of https://github.com/antlr/antlr4 resolved at 4.13.2
Creating working copy for https://github.com/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.0
Creating working copy for https://github.com/orchetect/SwiftRadix
Working copy of https://github.com/orchetect/SwiftRadix resolved at 1.3.2
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 8.49.2
Creating working copy for https://github.com/mhdhejazi/Dynamic
Working copy of https://github.com/mhdhejazi/Dynamic resolved at master (7728830)
Creating working copy for https://github.com/malcommac/SwiftDate
Working copy of https://github.com/malcommac/SwiftDate resolved at 7.0.0
Creating working copy for https://github.com/fumoboy007/swift-retry
Working copy of https://github.com/fumoboy007/swift-retry resolved at 0.2.4
Creating working copy for https://github.com/cfilipov/TextTable
Working copy of https://github.com/cfilipov/TextTable resolved at master (e032892)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/jozefizso/swift-xattr
Working copy of https://github.com/jozefizso/swift-xattr resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/sersoft-gmbh/swift-sysctl.git
Working copy of https://github.com/sersoft-gmbh/swift-sysctl.git resolved at 1.9.0
[1369/39939564] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry.xcframework.zip
[39955939/137724468] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry-Dynamic.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry-Dynamic.xcframework.zip
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry.xcframework.zip (5.61s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.49.2/Sentry-Dynamic.xcframework.zip (12.35s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/41] Write sources
[18/41] Compiling _NumericsShims _NumericsShims.c
[19/41] Write swift-version-24593BA9C3E375BF.txt
[20/131] Compiling _AtomicsShims.c
[22/136] Emitting module Semaphore
[23/136] Emitting module TextTable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/137] Emitting module Sysctl
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[25/138] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/138] Emitting module SwiftDate
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[27/142] Compiling Sysctl User.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[28/142] Compiling Sysctl VirtualMemory.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[29/142] Compiling Sysctl IPv6.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[30/142] Compiling Sysctl Network.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[31/142] Compiling Sysctl MachineDependent.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[32/142] Compiling Sysctl IPv4.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[33/142] Compiling Sysctl SystemControl.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[34/142] Compiling RealModule Real.swift
[35/143] Compiling SwiftDate ISOParser.swift
[36/143] Compiling SwiftDate DateComponents+Extras.swift
[37/143] Emitting module RealModule
[38/143] Compiling SwiftDate Formatter+Protocols.swift
[39/143] Compiling SwiftDate ISOFormatter.swift
[40/143] Compiling RealModule Float80+Real.swift
[41/143] Compiling RealModule Float16+Real.swift
[42/143] Compiling RealModule RealFunctions.swift
[43/143] Compiling RealModule ElementaryFunctions.swift
[44/143] Compiling RealModule Float+Real.swift
[46/149] Compiling XAttr XAttr.swift
/host/spi-builder-workspace/.build/checkouts/swift-xattr/Sources/FilePath+ExtendedAttributeHandler.swift:20:8: error: no such module 'System'
import System
^
[47/149] Compiling SwiftDate Zones.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[48/149] Compiling SwiftDate SwiftDate.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[49/149] Compiling SwiftDate TimePeriodChain.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[50/149] Compiling SwiftDate TimePeriodCollection.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/149] Emitting module Dynamic
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:267:28: error: cannot find type 'Selector' in scope
public var asSelector: Selector? { unwrap() }
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:14:27: error: cannot find type 'Selector' in scope
private let selector: Selector
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:38:38: error: cannot find type 'Selector' in scope
init(target: NSObject, selector: Selector) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:117:50: error: cannot find type 'NSInteger' in scope
func setArgument(_ argument: Any?, at index: NSInteger) {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:218:66: error: cannot find type 'Selector' in scope
case unrecognizedSelector(_ classType: AnyClass, _ selector: Selector)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/TypeMapping.swift:35:10: error: cannot find 'URLRequest' in scope
(URLRequest.self, NSURLRequest.self),
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/TypeMapping.swift:35:27: error: cannot find 'NSURLRequest' in scope
(URLRequest.self, NSURLRequest.self),
^~~~~~~~~~~~
[52/149] Compiling XAttr FileHandle+ExtendedAttributeHandler.swift
/host/spi-builder-workspace/.build/checkouts/swift-xattr/Sources/FilePath+ExtendedAttributeHandler.swift:20:8: error: no such module 'System'
import System
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/149] Emitting module XAttr
/host/spi-builder-workspace/.build/checkouts/swift-xattr/Sources/FilePath+ExtendedAttributeHandler.swift:20:8: error: no such module 'System'
import System
^
[54/149] Compiling XAttr FilePath+ExtendedAttributeHandler.swift
/host/spi-builder-workspace/.build/checkouts/swift-xattr/Sources/FilePath+ExtendedAttributeHandler.swift:20:8: error: no such module 'System'
import System
^
[55/149] Compiling XAttr URL+ExtendedAttributeHandler.swift
/host/spi-builder-workspace/.build/checkouts/swift-xattr/Sources/FilePath+ExtendedAttributeHandler.swift:20:8: error: no such module 'System'
import System
^
[57/149] Compiling SwiftRadix Radix.swift
error: fatalError
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
public import Darwin
^
[60/151] Compiling SwiftDate Int+DateComponents.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[61/151] Compiling SwiftDate String+Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[62/151] Compiling SwiftDate TimeInterval+Formatter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[63/151] Compiling SwiftDate AssociatedValues.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift:14:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
^
[64/151] Compiling TextTable SimpleFormat.swift
[65/151] Compiling Dynamic Dynamic.swift
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:267:28: error: cannot find type 'Selector' in scope
public var asSelector: Selector? { unwrap() }
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:29:51: error: value of type 'AnyObject' has no member 'debugDescription'
public var debugDescription: String { object?.debugDescription ?? "<nil>" }
~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:41:23: error: cannot assign value of type 'AnyClass?' (aka 'Optional<any AnyObject.Type>') to type 'AnyObject?'
self.object = NSClassFromString(className)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
as AnyObject?
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:102:32: error: value of type 'AnyObject' has no member 'debugDescription'
log("Get:", "\(object?.debugDescription ?? "").\(name)")
~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:119:32: error: value of type 'AnyObject' has no member 'debugDescription'
log("Set:", "\(object?.debugDescription ?? "").\(name)")
~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:147:67: error: cannot find 'NSSelectorFromString' in scope
invocation = try Invocation(target: target, selector: NSSelectorFromString(selector))
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:38:38: error: cannot find type 'Selector' in scope
init(target: NSObject, selector: Selector) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:117:50: error: cannot find type 'NSInteger' in scope
func setArgument(_ argument: Any?, at index: NSInteger) {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:172:69: error: cannot find 'NSSelectorFromString' in scope
let invocation = try Invocation(target: type, selector: NSSelectorFromString("alloc"))
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:231:27: error: incorrect argument label in call (have 'nonretainedObject:', expected 'coder:')
return NSValue(nonretainedObject: object)
^~~~~~~~~~~~~~~~~~
coder
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:231:47: error: 'AnyObject' is not convertible to 'NSCoder'
return NSValue(nonretainedObject: object)
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:231:47: note: did you mean to use 'as!' to force downcast?
return NSValue(nonretainedObject: object)
^
as! NSCoder
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:253:49: error: value of type 'AnyObject' has no member 'description'
public var asString: String? { asAnyObject?.description }
~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Dynamic.swift:282:26: error: value of type 'NSValue' has no member 'nonretainedObjectValue'
return value.nonretainedObjectValue as? T
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:14:27: error: cannot find type 'Selector' in scope
private let selector: Selector
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:38:38: error: cannot find type 'Selector' in scope
init(target: NSObject, selector: Selector) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:117:50: error: cannot find type 'NSInteger' in scope
func setArgument(_ argument: Any?, at index: NSInteger) {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:218:66: error: cannot find type 'Selector' in scope
case unrecognizedSelector(_ classType: AnyClass, _ selector: Selector)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:54:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("methodSignatureForSelector:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:55:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, Selector) -> Any).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:55:65: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, Selector) -> Any).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:56:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(target.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:56:47: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(target.method(for: selector), to: signature)
~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:66:50: error: value of type 'NSObject' has no member 'value'
self.numberOfArguments = methodSignature.value(forKeyPath: "numberOfArguments") as? Int ?? 0
~~~~~~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:70:45: error: value of type 'NSObject' has no member 'value'
self.returnLength = methodSignature.value(forKeyPath: "methodReturnLength") as? Int ?? 0
~~~~~~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:76:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("methodReturnType")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:77:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector) -> UnsafePointer<CChar>).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:78:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(methodSignature.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:78:56: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(methodSignature.method(for: selector), to: signature)
~~~~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:88:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("invocationWithMethodSignature:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:89:56: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(AnyObject, Selector, AnyObject) -> AnyObject).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:90:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(NSInvocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:90:53: error: value of type 'AnyObject' has no member 'method'
let method = unsafeBitCast(NSInvocation.method(for: selector), to: signature)
~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:102:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("setSelector:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:103:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, Selector) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:103:65: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, Selector) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:104:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:104:51: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:110:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("retainArguments")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:111:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:112:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:112:51: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:123:24: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("setArgument:atIndex:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:124:51: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, UnsafeRawPointer, Int) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:125:22: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:125:47: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:155:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("invokeWithTarget:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:156:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, AnyObject) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:157:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:157:51: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:169:28: error: cannot find 'NSSelectorFromString' in scope
let selector = NSSelectorFromString("getReturnValue:")
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:170:55: error: cannot find type 'Selector' in scope
let signature = (@convention(c)(NSObject, Selector, UnsafeMutableRawPointer) -> Void).self
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:171:26: error: generic parameter 'U' could not be inferred
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
^
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
@inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
^
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:171:51: error: value of type 'NSObject' has no member 'method'
let method = unsafeBitCast(invocation.method(for: selector), to: signature)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:177:12: error: cannot find 'NSStringFromSelector' in scope
if NSStringFromSelector(self.selector) == "alloc" {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Dynamic/Sources/Dynamic/Invocation.swift:209:24: error: cannot find 'NSStringFromSelector' in scope
let selector = NSStringFromSelector(self.selector)
^~~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.10 linux