Build Information
Failed to build ReerKit, reference main (082fa5
), with Swift 6.0 for Linux on 9 Oct 2024 17:33:11 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
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[129/135] Compiling ReerKit ReerKit.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[130/135] Compiling ReerKit Punycode.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[131/135] Compiling ReerKit RSA.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[132/135] Compiling ReerKit Color+REExtensions.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[133/135] Compiling ReerKit EdgeInsets+REExtensions.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[134/135] Compiling ReerKit Font+REExtensions.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
[135/135] Compiling ReerKit AnyObjectExtensionable.swift
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:27: error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find 'CTFramesetterCreateWithAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:53:76: error: cannot find type 'CFAttributedString' in scope
51 | /// - Returns: Total lines of the attributed string after rendering.
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
| `- error: cannot find type 'CFAttributedString' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:20: error: cannot find 'CGPath' in scope
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot find 'CGPath' in scope
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:34: error: cannot infer contextual base in reference to member 'init'
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: cannot infer contextual base in reference to member 'init'
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:54:118: error: 'nil' requires a contextual type
52 | func numberOfLines(forWidth width: CGFloat, ignoreBlankLines: Bool = false) -> Int {
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
| `- error: 'nil' requires a contextual type
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:21: error: cannot find 'CTFramesetterCreateFrame' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CTFramesetterCreateFrame' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:59: error: cannot find 'CFRangeMake' in scope
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: cannot find 'CFRangeMake' in scope
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:55:84: error: 'nil' requires a contextual type
53 | let framesetter = CTFramesetterCreateWithAttributedString(base as! CFAttributedString)
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
| `- error: 'nil' requires a contextual type
56 | let lines = CTFrameGetLines(frame) as Array
57 | var numberOfLines = lines.count
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:21: error: cannot find 'CTFrameGetLines' in scope
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| `- error: cannot find 'CTFrameGetLines' in scope
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:56:47: error: generic parameter 'Element' could not be inferred in cast to 'Array'
54 | let path = CGPath(rect: .init(x: 0, y: 0, width: width, height: CGFloat.greatestFiniteMagnitude), transform: nil)
55 | let frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
56 | let lines = CTFrameGetLines(frame) as Array
| |- error: generic parameter 'Element' could not be inferred in cast to 'Array'
| `- note: explicitly specify the generic arguments to fix this issue
57 | var numberOfLines = lines.count
58 |
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:63:55: error: cannot find type 'CTLine' in scope
61 | }
62 |
63 | if ignoreBlankLines, let ctLines = lines as? [CTLine] {
| `- error: cannot find type 'CTLine' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:66:33: error: cannot find 'CTLineGetStringRange' in scope
64 | numberOfLines = 0
65 | for ctLine in ctLines {
66 | let lineRange = CTLineGetStringRange(ctLine)
| `- error: cannot find 'CTLineGetStringRange' in scope
67 | let startIndex = base.string.index(base.string.startIndex, offsetBy: Int(lineRange.location))
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:70:66: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
68 | let endIndex = base.string.index(startIndex, offsetBy: Int(lineRange.length))
69 | let lineString = base.string[startIndex..<endIndex]
70 | let trimmed = lineString.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
71 | if !trimmed.isEmpty {
72 | numberOfLines += 1
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:25: error: value of type 'Base' has no member 'boundingRect'
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: value of type 'Base' has no member 'boundingRect'
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:64: error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesLineFragmentOrigin' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:89: error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: reference to member 'usesFontLeading' cannot be resolved without a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:85:116: error: 'nil' requires a contextual type
83 | func height(forWidth width: CGFloat) -> CGFloat {
84 | let maxSize = CGSize(width: width, height: .greatestFiniteMagnitude)
85 | let rect = base.boundingRect(with: maxSize, options: [.usesLineFragmentOrigin, .usesFontLeading], context: nil)
| `- error: 'nil' requires a contextual type
86 | return rect.height
87 | }
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:94:76: error: missing argument for parameter 'string' in call
92 | /// - Returns: NSAttributedString with applied attributes.
93 | func with(attributes: [NSAttributedString.Key: Any]) -> NSMutableAttributedString {
94 | guard !base.string.isEmpty else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
95 |
96 | let copy = NSMutableAttributedString(attributedString: base)
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSAttributedString+REExtensions.swift:113:130: error: missing argument for parameter 'string' in call
111 | options: NSRegularExpression.Options = []
112 | ) -> NSMutableAttributedString {
113 | guard let pattern = try? NSRegularExpression(pattern: pattern, options: options) else { return NSMutableAttributedString() }
| `- error: missing argument for parameter 'string' in call
114 |
115 | let matches = pattern.matches(in: base.string, options: [], range: NSRange(0..<base.length))
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:57:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
55 | /// - Returns: NSCompoundPredicate
56 | static prefix func ! (rhs: NSPredicate) -> NSCompoundPredicate {
57 | return rhs.re.not
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'not'
58 | }
59 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:67:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
65 | /// - Returns: NSCompoundPredicate
66 | static func + (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
67 | return lhs.re.and(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'and'
68 | }
69 |
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+REExtensions.swift:77:23: error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
75 | /// - Returns: NSCompoundPredicate
76 | static func | (lhs: NSPredicate, rhs: NSPredicate) -> NSCompoundPredicate {
77 | return lhs.re.or(rhs)
| `- error: value of type 'ReerForEquatable<NSPredicate>' has no member 'or'
78 | }
79 |
/host/spi-builder-workspace/Sources/Foundation/NSRegularExpression+REExtensions.swift:48:22: error: cannot find type 'MatchingFlags' in scope
46 | using block: @escaping (
47 | _ result: NSTextCheckingResult?,
48 | _ flags: MatchingFlags,
| `- error: cannot find type 'MatchingFlags' in scope
49 | _ stop: inout Bool
50 | ) -> Void
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:55:13: warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
| |- warning: capture of 'removeObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | block($0)
57 | }
/host/spi-builder-workspace/Sources/Foundation/NotificationCenter+REExtensions.swift:56:13: warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | handler = base.addObserver(forName: name, object: obj, queue: queue) {
55 | removeObserver()
56 | block($0)
| |- warning: capture of 'block' with non-sendable type '(Notification) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:32:19: error: cannot find type 'Selector' in scope
30 | timeInterval: TimeInterval,
31 | weakTarget: NSObject,
32 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
33 | userInfo: Any?,
34 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:50:19: error: cannot find type 'Selector' in scope
48 | timeInterval: TimeInterval,
49 | weakTarget: NSObject,
50 | selector: Selector,
| `- error: cannot find type 'Selector' in scope
51 | userInfo: Any?,
52 | repeats: Bool
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:82:6: error: Objective-C interoperability is disabled
80 | fileprivate extension Timer {
81 |
82 | @objc
| `- error: Objective-C interoperability is disabled
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:36:35: error: extra arguments at positions #2, #3, #4 in call
34 | repeats: Bool
35 | ) -> Timer {
36 | return Base.scheduledTimer(
| `- error: extra arguments at positions #2, #3, #4 in call
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:38:50: error: missing argument for parameter 'block' in call
36 | return Base.scheduledTimer(
37 | timeInterval: timeInterval,
38 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
39 | selector: selector,
40 | userInfo: userInfo,
Foundation.Timer:5:21: note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
| `- note: 'scheduledTimer(withTimeInterval:repeats:block:)' declared here
6 | open func fire()
7 | open var fireDate: Date { get set }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:16: error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: constructing an object of class type 'Base' with a metatype value must use a 'required' initializer
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: selected non-required initializer 'init(timeInterval:repeats:block:)'
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: selected non-required initializer 'init(timeInterval:repeats:block:)'
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:54:20: error: extra arguments at positions #2, #3, #4 in call
52 | repeats: Bool
53 | ) -> Timer {
54 | return Base(
| `- error: extra arguments at positions #2, #3, #4 in call
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:56:50: error: missing argument for parameter 'block' in call
54 | return Base(
55 | timeInterval: timeInterval,
56 | target: WeakProxy(target: weakTarget),
| `- error: missing argument for parameter 'block' in call
57 | selector: selector,
58 | userInfo: userInfo,
Foundation.Timer:3:24: note: 'init(timeInterval:repeats:block:)' declared here
1 | open class Timer : NSObject {
2 | public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
3 | public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
| `- note: 'init(timeInterval:repeats:block:)' declared here
4 | @available(*, noasync)
5 | open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:40: error: cannot find 'AssociationKey' in scope
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:85:16: error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
83 | var intervalBeforeFiring: TimeInterval {
84 | get {
85 | re.associatedValue(forKey: AssociationKey(#function as StaticString), default: 0)
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'associatedValue'
86 | }
87 | set {
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:53: error: cannot find 'AssociationKey' in scope
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: cannot find 'AssociationKey' in scope
89 | }
90 | }
/host/spi-builder-workspace/Sources/Foundation/Timer+REExtensions.swift:88:16: error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
86 | }
87 | set {
88 | re.setAssociatedValue(newValue, forKey: AssociationKey(#function as StaticString))
| `- error: value of type 'ReerForEquatable<Timer>' has no member 'setAssociatedValue'
89 | }
90 | }
/host/spi-builder-workspace/Sources/StandardLibrary/AnyObjectExtensions/AnyObjectExtensionable.swift:25:5: error: cannot find type 'Associatable' in scope
23 | /// You must conform this protocol by yourself if your class is NOT inheriting from `NSObject`.
24 | public typealias AnyObjectExtensionable =
25 | Associatable
| `- error: cannot find type 'Associatable' in scope
26 | & OnceExecutable
27 | & Swizzlable
BUILD FAILURE 6.0 linux