Build Information
Failed to build BaseMath, reference 1.0.1 (449475), with Swift 6.1 for Android on 27 May 2025 10:57:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
| `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
113 |
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no exact matches in call to global function 'nextafter'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| |- error: no exact matches in call to global function 'nextafter'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: candidate has partially matching parameter list (Double, Double)
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no 'nextafter' candidates produce the expected contextual result type 'Float'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| `- error: no 'nextafter' candidates produce the expected contextual result type 'Float'
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
Foundation.nextafter:1:13: note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func nextafter(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling BaseMath Storage.swift
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
| |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public typealias ArrayLiteralElement=Element
25 |
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:37: warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer
5 |
6 | public func copy() -> Array { return (self as NSCopying).copy(with: nil) as! Array }
7 | public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
| | |- note: implicit argument conversion from 'Array<Element>' to 'UnsafePointer<Element>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer
8 | }
9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling BaseMath BaseVector.swift
[4/5] Emitting module BaseMath
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:73:61: error: no exact matches in call to global function 'acos'
71 | @inlinable public func divRev(_ b: Float) -> Float {return b / self}
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
| `- error: no exact matches in call to global function 'acos'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:73:61: error: no 'acos' candidates produce the expected contextual result type 'Float'
71 | @inlinable public func divRev(_ b: Float) -> Float {return b / self}
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:74:62: error: no exact matches in call to global function 'acosh'
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
| `- error: no exact matches in call to global function 'acosh'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
Foundation.acosh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acosh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:104:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
102 | long double tanl(long double __x);
103 |
104 | double acosh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
105 | float acoshf(float __x);
106 | long double acoshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:74:62: error: no 'acosh' candidates produce the expected contextual result type 'Float'
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
| `- error: no 'acosh' candidates produce the expected contextual result type 'Float'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
Foundation.acosh:1:13: note: 'acosh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acosh(_ x: CGFloat) -> CGFloat
| `- note: 'acosh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:104:8: note: 'acosh' produces 'Double', not the expected contextual result type 'Float'
102 | long double tanl(long double __x);
103 |
104 | double acosh(double __x);
| `- note: 'acosh' produces 'Double', not the expected contextual result type 'Float'
105 | float acoshf(float __x);
106 | long double acoshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:75:61: error: no exact matches in call to global function 'asin'
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
| `- error: no exact matches in call to global function 'asin'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
Foundation.asin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
78 | long double acosl(long double __x);
79 |
80 | double asin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
81 | float asinf(float __x);
82 | long double asinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:75:61: error: no 'asin' candidates produce the expected contextual result type 'Float'
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
Foundation.asin:1:13: note: 'asin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func asin(_ x: CGFloat) -> CGFloat
| `- note: 'asin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: 'asin' produces 'Double', not the expected contextual result type 'Float'
78 | long double acosl(long double __x);
79 |
80 | double asin(double __x);
| `- note: 'asin' produces 'Double', not the expected contextual result type 'Float'
81 | float asinf(float __x);
82 | long double asinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:76:62: error: no exact matches in call to global function 'asinh'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
| `- error: no exact matches in call to global function 'asinh'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
Foundation.asinh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asinh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:108:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
106 | long double acoshl(long double __x);
107 |
108 | double asinh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
109 | float asinhf(float __x);
110 | long double asinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:76:62: error: no 'asinh' candidates produce the expected contextual result type 'Float'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
| `- error: no 'asinh' candidates produce the expected contextual result type 'Float'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
Foundation.asinh:1:13: note: 'asinh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func asinh(_ x: CGFloat) -> CGFloat
| `- note: 'asinh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:108:8: note: 'asinh' produces 'Double', not the expected contextual result type 'Float'
106 | long double acoshl(long double __x);
107 |
108 | double asinh(double __x);
| `- note: 'asinh' produces 'Double', not the expected contextual result type 'Float'
109 | float asinhf(float __x);
110 | long double asinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:77:61: error: no exact matches in call to global function 'atan'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
| `- error: no exact matches in call to global function 'atan'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:77:61: error: no 'atan' candidates produce the expected contextual result type 'Float'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
Foundation.atan:1:13: note: 'atan' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: 'atan' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: 'atan' produces 'Double', not the expected contextual result type 'Float'
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: 'atan' produces 'Double', not the expected contextual result type 'Float'
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:78:62: error: no exact matches in call to global function 'atanh'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
| `- error: no exact matches in call to global function 'atanh'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
Foundation.atanh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atanh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:112:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
110 | long double asinhl(long double __x);
111 |
112 | double atanh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
113 | float atanhf(float __x);
114 | long double atanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:78:62: error: no 'atanh' candidates produce the expected contextual result type 'Float'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
| `- error: no 'atanh' candidates produce the expected contextual result type 'Float'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
Foundation.atanh:1:13: note: 'atanh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atanh(_ x: CGFloat) -> CGFloat
| `- note: 'atanh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:112:8: note: 'atanh' produces 'Double', not the expected contextual result type 'Float'
110 | long double asinhl(long double __x);
111 |
112 | double atanh(double __x);
| `- note: 'atanh' produces 'Double', not the expected contextual result type 'Float'
113 | float atanhf(float __x);
114 | long double atanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:79:61: error: no exact matches in call to global function 'cbrt'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
| `- error: no exact matches in call to global function 'cbrt'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:79:61: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:80:60: error: no exact matches in call to global function 'cos'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
| `- error: no exact matches in call to global function 'cos'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:80:60: error: no 'cos' candidates produce the expected contextual result type 'Float'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:81:61: error: no exact matches in call to global function 'cosh'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
| `- error: no exact matches in call to global function 'cosh'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
Foundation.cosh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cosh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:116:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
114 | long double atanhl(long double __x);
115 |
116 | double cosh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
117 | float coshf(float __x);
118 | long double coshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:81:61: error: no 'cosh' candidates produce the expected contextual result type 'Float'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
| `- error: no 'cosh' candidates produce the expected contextual result type 'Float'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
Foundation.cosh:1:13: note: 'cosh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cosh(_ x: CGFloat) -> CGFloat
| `- note: 'cosh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:116:8: note: 'cosh' produces 'Double', not the expected contextual result type 'Float'
114 | long double atanhl(long double __x);
115 |
116 | double cosh(double __x);
| `- note: 'cosh' produces 'Double', not the expected contextual result type 'Float'
117 | float coshf(float __x);
118 | long double coshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:82:60: error: no exact matches in call to global function 'erf'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
| `- error: no exact matches in call to global function 'erf'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
Foundation.erf:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func erf(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:204:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
202 | long double sqrtl(long double __x);
203 |
204 | double erf(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
205 | float erff(float __x);
206 | long double erfl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:82:60: error: no 'erf' candidates produce the expected contextual result type 'Float'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
| `- error: no 'erf' candidates produce the expected contextual result type 'Float'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
Foundation.erf:1:13: note: 'erf' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func erf(_ x: CGFloat) -> CGFloat
| `- note: 'erf' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:204:8: note: 'erf' produces 'Double', not the expected contextual result type 'Float'
202 | long double sqrtl(long double __x);
203 |
204 | double erf(double __x);
| `- note: 'erf' produces 'Double', not the expected contextual result type 'Float'
205 | float erff(float __x);
206 | long double erfl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:83:61: error: no exact matches in call to global function 'erfc'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
| `- error: no exact matches in call to global function 'erfc'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
Foundation.erfc:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func erfc(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:208:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
206 | long double erfl(long double __x);
207 |
208 | double erfc(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
209 | float erfcf(float __x);
210 | long double erfcl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:83:61: error: no 'erfc' candidates produce the expected contextual result type 'Float'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
| `- error: no 'erfc' candidates produce the expected contextual result type 'Float'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
Foundation.erfc:1:13: note: 'erfc' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func erfc(_ x: CGFloat) -> CGFloat
| `- note: 'erfc' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:208:8: note: 'erfc' produces 'Double', not the expected contextual result type 'Float'
206 | long double erfl(long double __x);
207 |
208 | double erfc(double __x);
| `- note: 'erfc' produces 'Double', not the expected contextual result type 'Float'
209 | float erfcf(float __x);
210 | long double erfcl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:84:60: error: no exact matches in call to global function 'exp'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
| `- error: no exact matches in call to global function 'exp'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
Foundation.exp:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:84:60: error: no 'exp' candidates produce the expected contextual result type 'Float'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
| `- error: no 'exp' candidates produce the expected contextual result type 'Float'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
Foundation.exp:1:13: note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:85:61: error: no exact matches in call to global function 'exp2'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
| `- error: no exact matches in call to global function 'exp2'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
Foundation.exp2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:132:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
130 | long double expl(long double __x);
131 |
132 | double exp2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
133 | float exp2f(float __x);
134 | long double exp2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:85:61: error: no 'exp2' candidates produce the expected contextual result type 'Float'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
| `- error: no 'exp2' candidates produce the expected contextual result type 'Float'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
Foundation.exp2:1:13: note: 'exp2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp2(_ x: CGFloat) -> CGFloat
| `- note: 'exp2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:132:8: note: 'exp2' produces 'Double', not the expected contextual result type 'Float'
130 | long double expl(long double __x);
131 |
132 | double exp2(double __x);
| `- note: 'exp2' produces 'Double', not the expected contextual result type 'Float'
133 | float exp2f(float __x);
134 | long double exp2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:86:62: error: no exact matches in call to global function 'expm1'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
| `- error: no exact matches in call to global function 'expm1'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
Foundation.expm1:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func expm1(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:136:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
134 | long double exp2l(long double __x);
135 |
136 | double expm1(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
137 | float expm1f(float __x);
138 | long double expm1l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:86:62: error: no 'expm1' candidates produce the expected contextual result type 'Float'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
| `- error: no 'expm1' candidates produce the expected contextual result type 'Float'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
Foundation.expm1:1:13: note: 'expm1' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func expm1(_ x: CGFloat) -> CGFloat
| `- note: 'expm1' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:136:8: note: 'expm1' produces 'Double', not the expected contextual result type 'Float'
134 | long double exp2l(long double __x);
135 |
136 | double expm1(double __x);
| `- note: 'expm1' produces 'Double', not the expected contextual result type 'Float'
137 | float expm1f(float __x);
138 | long double expm1l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:87:60: error: no exact matches in call to global function 'log'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
| `- error: no exact matches in call to global function 'log'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:87:60: error: no 'log' candidates produce the expected contextual result type 'Float'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
| `- error: no 'log' candidates produce the expected contextual result type 'Float'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:88:62: error: no exact matches in call to global function 'log10'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
| `- error: no exact matches in call to global function 'log10'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
Foundation.log10:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log10(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:156:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
154 | long double logl(long double __x);
155 |
156 | double log10(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
157 | float log10f(float __x);
158 | long double log10l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:88:62: error: no 'log10' candidates produce the expected contextual result type 'Float'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
| `- error: no 'log10' candidates produce the expected contextual result type 'Float'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
Foundation.log10:1:13: note: 'log10' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log10(_ x: CGFloat) -> CGFloat
| `- note: 'log10' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:156:8: note: 'log10' produces 'Double', not the expected contextual result type 'Float'
154 | long double logl(long double __x);
155 |
156 | double log10(double __x);
| `- note: 'log10' produces 'Double', not the expected contextual result type 'Float'
157 | float log10f(float __x);
158 | long double log10l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:89:62: error: no exact matches in call to global function 'log1p'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
| `- error: no exact matches in call to global function 'log1p'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
Foundation.log1p:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log1p(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:160:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
158 | long double log10l(long double __x);
159 |
160 | double log1p(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
161 | float log1pf(float __x);
162 | long double log1pl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:89:62: error: no 'log1p' candidates produce the expected contextual result type 'Float'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
| `- error: no 'log1p' candidates produce the expected contextual result type 'Float'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
Foundation.log1p:1:13: note: 'log1p' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log1p(_ x: CGFloat) -> CGFloat
| `- note: 'log1p' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:160:8: note: 'log1p' produces 'Double', not the expected contextual result type 'Float'
158 | long double log10l(long double __x);
159 |
160 | double log1p(double __x);
| `- note: 'log1p' produces 'Double', not the expected contextual result type 'Float'
161 | float log1pf(float __x);
162 | long double log1pl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:90:61: error: no exact matches in call to global function 'log2'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
| `- error: no exact matches in call to global function 'log2'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:90:61: error: no 'log2' candidates produce the expected contextual result type 'Float'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
| `- error: no 'log2' candidates produce the expected contextual result type 'Float'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
Foundation.log2:1:13: note: 'log2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: 'log2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:164:8: note: 'log2' produces 'Double', not the expected contextual result type 'Float'
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: 'log2' produces 'Double', not the expected contextual result type 'Float'
165 | float log2f(float __x);
166 | long double log2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:91:61: error: no exact matches in call to global function 'logb'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
| `- error: no exact matches in call to global function 'logb'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
Foundation.logb:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func logb(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:168:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
166 | long double log2l(long double __x);
167 |
168 | double logb(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
169 | float logbf(float __x);
170 | long double logbl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:91:61: error: no 'logb' candidates produce the expected contextual result type 'Float'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
| `- error: no 'logb' candidates produce the expected contextual result type 'Float'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
Foundation.logb:1:13: note: 'logb' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func logb(_ x: CGFloat) -> CGFloat
| `- note: 'logb' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:168:8: note: 'logb' produces 'Double', not the expected contextual result type 'Float'
166 | long double log2l(long double __x);
167 |
168 | double logb(double __x);
| `- note: 'logb' produces 'Double', not the expected contextual result type 'Float'
169 | float logbf(float __x);
170 | long double logbl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:92:66: error: no exact matches in call to global function 'nearbyint'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
| `- error: no exact matches in call to global function 'nearbyint'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
Foundation.nearbyint:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func nearbyint(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:228:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
226 | long double floorl(long double __x);
227 |
228 | double nearbyint(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
229 | float nearbyintf(float __x);
230 | long double nearbyintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:92:66: error: no 'nearbyint' candidates produce the expected contextual result type 'Float'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
| `- error: no 'nearbyint' candidates produce the expected contextual result type 'Float'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
Foundation.nearbyint:1:13: note: 'nearbyint' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func nearbyint(_ x: CGFloat) -> CGFloat
| `- note: 'nearbyint' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:228:8: note: 'nearbyint' produces 'Double', not the expected contextual result type 'Float'
226 | long double floorl(long double __x);
227 |
228 | double nearbyint(double __x);
| `- note: 'nearbyint' produces 'Double', not the expected contextual result type 'Float'
229 | float nearbyintf(float __x);
230 | long double nearbyintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:93:61: error: no exact matches in call to global function 'rint'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
| `- error: no exact matches in call to global function 'rint'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
Foundation.rint:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func rint(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:232:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
230 | long double nearbyintl(long double __x);
231 |
232 | double rint(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
233 | float rintf(float __x);
234 | long double rintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:93:61: error: no 'rint' candidates produce the expected contextual result type 'Float'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
| `- error: no 'rint' candidates produce the expected contextual result type 'Float'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
Foundation.rint:1:13: note: 'rint' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func rint(_ x: CGFloat) -> CGFloat
| `- note: 'rint' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:232:8: note: 'rint' produces 'Double', not the expected contextual result type 'Float'
230 | long double nearbyintl(long double __x);
231 |
232 | double rint(double __x);
| `- note: 'rint' produces 'Double', not the expected contextual result type 'Float'
233 | float rintf(float __x);
234 | long double rintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:94:60: error: no exact matches in call to global function 'sin'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
| `- error: no exact matches in call to global function 'sin'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:94:60: error: no 'sin' candidates produce the expected contextual result type 'Float'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:95:61: error: no exact matches in call to global function 'sinh'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
| `- error: no exact matches in call to global function 'sinh'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
Foundation.sinh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sinh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:120:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
118 | long double coshl(long double __x);
119 |
120 | double sinh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
121 | float sinhf(float __x);
122 | long double sinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:95:61: error: no 'sinh' candidates produce the expected contextual result type 'Float'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
| `- error: no 'sinh' candidates produce the expected contextual result type 'Float'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
Foundation.sinh:1:13: note: 'sinh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sinh(_ x: CGFloat) -> CGFloat
| `- note: 'sinh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:120:8: note: 'sinh' produces 'Double', not the expected contextual result type 'Float'
118 | long double coshl(long double __x);
119 |
120 | double sinh(double __x);
| `- note: 'sinh' produces 'Double', not the expected contextual result type 'Float'
121 | float sinhf(float __x);
122 | long double sinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:96:60: error: no exact matches in call to global function 'tan'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
| `- error: no exact matches in call to global function 'tan'
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
Foundation.tan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:100:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
98 | long double sinl(long double __x);
99 |
100 | double tan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
101 | float tanf(float __x);
102 | long double tanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:96:60: error: no 'tan' candidates produce the expected contextual result type 'Float'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
Foundation.tan:1:13: note: 'tan' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tan(_ x: CGFloat) -> CGFloat
| `- note: 'tan' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:100:8: note: 'tan' produces 'Double', not the expected contextual result type 'Float'
98 | long double sinl(long double __x);
99 |
100 | double tan(double __x);
| `- note: 'tan' produces 'Double', not the expected contextual result type 'Float'
101 | float tanf(float __x);
102 | long double tanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:97:61: error: no exact matches in call to global function 'tanh'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
| `- error: no exact matches in call to global function 'tanh'
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
99 |
Foundation.tanh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tanh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:124:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
122 | long double sinhl(long double __x);
123 |
124 | double tanh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
125 | float tanhf(float __x);
126 | long double tanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:97:61: error: no 'tanh' candidates produce the expected contextual result type 'Float'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
| `- error: no 'tanh' candidates produce the expected contextual result type 'Float'
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
99 |
Foundation.tanh:1:13: note: 'tanh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tanh(_ x: CGFloat) -> CGFloat
| `- note: 'tanh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:124:8: note: 'tanh' produces 'Double', not the expected contextual result type 'Float'
122 | long double sinhl(long double __x);
123 |
124 | double tanh(double __x);
| `- note: 'tanh' produces 'Double', not the expected contextual result type 'Float'
125 | float tanhf(float __x);
126 | long double tanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:98:63: error: no exact matches in call to global function 'tgamma'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
| `- error: no exact matches in call to global function 'tgamma'
99 |
100 | @inlinable public func min(_ b: Float) -> Float {return Swift.min(self, b)}
Foundation.tgamma:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tgamma(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:216:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
214 | long double lgammal(long double __x);
215 |
216 | double tgamma(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
217 | float tgammaf(float __x);
218 | long double tgammal(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:98:63: error: no 'tgamma' candidates produce the expected contextual result type 'Float'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
| `- error: no 'tgamma' candidates produce the expected contextual result type 'Float'
99 |
100 | @inlinable public func min(_ b: Float) -> Float {return Swift.min(self, b)}
Foundation.tgamma:1:13: note: 'tgamma' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tgamma(_ x: CGFloat) -> CGFloat
| `- note: 'tgamma' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:216:8: note: 'tgamma' produces 'Double', not the expected contextual result type 'Float'
214 | long double lgammal(long double __x);
215 |
216 | double tgamma(double __x);
| `- note: 'tgamma' produces 'Double', not the expected contextual result type 'Float'
217 | float tgammaf(float __x);
218 | long double tgammal(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:105:70: error: no exact matches in call to global function 'pow'
103 | @inlinable public func abs() -> Float {return Swift.abs(self)}
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:105:70: error: no 'pow' candidates produce the expected contextual result type 'Float'
103 | @inlinable public func abs() -> Float {return Swift.abs(self)}
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:106:72: error: no exact matches in call to global function 'atan2'
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:106:72: error: no 'atan2' candidates produce the expected contextual result type 'Float'
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
| `- error: no 'atan2' candidates produce the expected contextual result type 'Float'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:107:75: error: no exact matches in call to global function 'copysign'
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
| |- error: no exact matches in call to global function 'copysign'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:272:8: note: candidate has partially matching parameter list (Double, Double)
270 | long double remquol(long double __x, long double __y, int* _Nonnull __quotient_bits);
271 |
272 | double copysign(double __value, double __sign) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
273 | float copysignf(float __value, float __sign) __attribute_const__;
274 | long double copysignl(long double __value, long double __sign) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:107:75: error: no 'copysign' candidates produce the expected contextual result type 'Float'
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
| `- error: no 'copysign' candidates produce the expected contextual result type 'Float'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
Foundation.copysign:1:13: note: 'copysign' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func copysign(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'copysign' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:272:8: note: 'copysign' produces 'Double', not the expected contextual result type 'Float'
270 | long double remquol(long double __x, long double __y, int* _Nonnull __quotient_bits);
271 |
272 | double copysign(double __value, double __sign) __attribute_const__;
| `- note: 'copysign' produces 'Double', not the expected contextual result type 'Float'
273 | float copysignf(float __value, float __sign) __attribute_const__;
274 | long double copysignl(long double __value, long double __sign) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:108:71: error: no exact matches in call to global function 'fdim'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
| |- error: no exact matches in call to global function 'fdim'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:288:8: note: candidate has partially matching parameter list (Double, Double)
286 | long double nexttowardl(long double __x, long double __y);
287 |
288 | double fdim(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
289 | float fdimf(float __x, float __y);
290 | long double fdiml(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:108:71: error: no 'fdim' candidates produce the expected contextual result type 'Float'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
| `- error: no 'fdim' candidates produce the expected contextual result type 'Float'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
Foundation.fdim:1:13: note: 'fdim' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fdim(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fdim' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:288:8: note: 'fdim' produces 'Double', not the expected contextual result type 'Float'
286 | long double nexttowardl(long double __x, long double __y);
287 |
288 | double fdim(double __x, double __y);
| `- note: 'fdim' produces 'Double', not the expected contextual result type 'Float'
289 | float fdimf(float __x, float __y);
290 | long double fdiml(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:109:71: error: no exact matches in call to global function 'fmax'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
| |- error: no exact matches in call to global function 'fmax'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:292:8: note: candidate has partially matching parameter list (Double, Double)
290 | long double fdiml(long double __x, long double __y);
291 |
292 | double fmax(double __x, double __y) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
293 | float fmaxf(float __x, float __y) __attribute_const__;
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:109:71: error: no 'fmax' candidates produce the expected contextual result type 'Float'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
| `- error: no 'fmax' candidates produce the expected contextual result type 'Float'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
Foundation.fmax:1:13: note: 'fmax' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fmax(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fmax' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:292:8: note: 'fmax' produces 'Double', not the expected contextual result type 'Float'
290 | long double fdiml(long double __x, long double __y);
291 |
292 | double fmax(double __x, double __y) __attribute_const__;
| `- note: 'fmax' produces 'Double', not the expected contextual result type 'Float'
293 | float fmaxf(float __x, float __y) __attribute_const__;
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:110:71: error: no exact matches in call to global function 'fmin'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
| |- error: no exact matches in call to global function 'fmin'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:296:8: note: candidate has partially matching parameter list (Double, Double)
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
295 |
296 | double fmin(double __x, double __y) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
297 | float fminf(float __x, float __y) __attribute_const__;
298 | long double fminl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:110:71: error: no 'fmin' candidates produce the expected contextual result type 'Float'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
| `- error: no 'fmin' candidates produce the expected contextual result type 'Float'
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
Foundation.fmin:1:13: note: 'fmin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fmin(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fmin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:296:8: note: 'fmin' produces 'Double', not the expected contextual result type 'Float'
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
295 |
296 | double fmin(double __x, double __y) __attribute_const__;
| `- note: 'fmin' produces 'Double', not the expected contextual result type 'Float'
297 | float fminf(float __x, float __y) __attribute_const__;
298 | long double fminl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:111:72: error: no exact matches in call to global function 'hypot'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
| |- error: no exact matches in call to global function 'hypot'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
113 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: candidate has partially matching parameter list (Double, Double)
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:111:72: error: no 'hypot' candidates produce the expected contextual result type 'Float'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
| `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
113 |
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no exact matches in call to global function 'nextafter'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| |- error: no exact matches in call to global function 'nextafter'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: candidate has partially matching parameter list (Double, Double)
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no 'nextafter' candidates produce the expected contextual result type 'Float'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| `- error: no 'nextafter' candidates produce the expected contextual result type 'Float'
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
Foundation.nextafter:1:13: note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func nextafter(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
| |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public typealias ArrayLiteralElement=Element
25 |
[5/5] Compiling BaseMath BaseMath.swift
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:73:61: error: no exact matches in call to global function 'acos'
71 | @inlinable public func divRev(_ b: Float) -> Float {return b / self}
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
| `- error: no exact matches in call to global function 'acos'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:73:61: error: no 'acos' candidates produce the expected contextual result type 'Float'
71 | @inlinable public func divRev(_ b: Float) -> Float {return b / self}
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:74:62: error: no exact matches in call to global function 'acosh'
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
| `- error: no exact matches in call to global function 'acosh'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
Foundation.acosh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acosh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:104:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
102 | long double tanl(long double __x);
103 |
104 | double acosh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
105 | float acoshf(float __x);
106 | long double acoshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:74:62: error: no 'acosh' candidates produce the expected contextual result type 'Float'
72 |
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
| `- error: no 'acosh' candidates produce the expected contextual result type 'Float'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
Foundation.acosh:1:13: note: 'acosh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acosh(_ x: CGFloat) -> CGFloat
| `- note: 'acosh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:104:8: note: 'acosh' produces 'Double', not the expected contextual result type 'Float'
102 | long double tanl(long double __x);
103 |
104 | double acosh(double __x);
| `- note: 'acosh' produces 'Double', not the expected contextual result type 'Float'
105 | float acoshf(float __x);
106 | long double acoshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:75:61: error: no exact matches in call to global function 'asin'
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
| `- error: no exact matches in call to global function 'asin'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
Foundation.asin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
78 | long double acosl(long double __x);
79 |
80 | double asin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
81 | float asinf(float __x);
82 | long double asinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:75:61: error: no 'asin' candidates produce the expected contextual result type 'Float'
73 | @inlinable public func acos() -> Float {return Foundation.acos(self)}
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
Foundation.asin:1:13: note: 'asin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func asin(_ x: CGFloat) -> CGFloat
| `- note: 'asin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: 'asin' produces 'Double', not the expected contextual result type 'Float'
78 | long double acosl(long double __x);
79 |
80 | double asin(double __x);
| `- note: 'asin' produces 'Double', not the expected contextual result type 'Float'
81 | float asinf(float __x);
82 | long double asinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:76:62: error: no exact matches in call to global function 'asinh'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
| `- error: no exact matches in call to global function 'asinh'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
Foundation.asinh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asinh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:108:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
106 | long double acoshl(long double __x);
107 |
108 | double asinh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
109 | float asinhf(float __x);
110 | long double asinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:76:62: error: no 'asinh' candidates produce the expected contextual result type 'Float'
74 | @inlinable public func acosh() -> Float {return Foundation.acosh(self)}
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
| `- error: no 'asinh' candidates produce the expected contextual result type 'Float'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
Foundation.asinh:1:13: note: 'asinh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func asinh(_ x: CGFloat) -> CGFloat
| `- note: 'asinh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:108:8: note: 'asinh' produces 'Double', not the expected contextual result type 'Float'
106 | long double acoshl(long double __x);
107 |
108 | double asinh(double __x);
| `- note: 'asinh' produces 'Double', not the expected contextual result type 'Float'
109 | float asinhf(float __x);
110 | long double asinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:77:61: error: no exact matches in call to global function 'atan'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
| `- error: no exact matches in call to global function 'atan'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:77:61: error: no 'atan' candidates produce the expected contextual result type 'Float'
75 | @inlinable public func asin() -> Float {return Foundation.asin(self)}
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
Foundation.atan:1:13: note: 'atan' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: 'atan' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: 'atan' produces 'Double', not the expected contextual result type 'Float'
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: 'atan' produces 'Double', not the expected contextual result type 'Float'
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:78:62: error: no exact matches in call to global function 'atanh'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
| `- error: no exact matches in call to global function 'atanh'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
Foundation.atanh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atanh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:112:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
110 | long double asinhl(long double __x);
111 |
112 | double atanh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
113 | float atanhf(float __x);
114 | long double atanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:78:62: error: no 'atanh' candidates produce the expected contextual result type 'Float'
76 | @inlinable public func asinh() -> Float {return Foundation.asinh(self)}
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
| `- error: no 'atanh' candidates produce the expected contextual result type 'Float'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
Foundation.atanh:1:13: note: 'atanh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atanh(_ x: CGFloat) -> CGFloat
| `- note: 'atanh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:112:8: note: 'atanh' produces 'Double', not the expected contextual result type 'Float'
110 | long double asinhl(long double __x);
111 |
112 | double atanh(double __x);
| `- note: 'atanh' produces 'Double', not the expected contextual result type 'Float'
113 | float atanhf(float __x);
114 | long double atanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:79:61: error: no exact matches in call to global function 'cbrt'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
| `- error: no exact matches in call to global function 'cbrt'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:79:61: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
77 | @inlinable public func atan() -> Float {return Foundation.atan(self)}
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:80:60: error: no exact matches in call to global function 'cos'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
| `- error: no exact matches in call to global function 'cos'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:80:60: error: no 'cos' candidates produce the expected contextual result type 'Float'
78 | @inlinable public func atanh() -> Float {return Foundation.atanh(self)}
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:81:61: error: no exact matches in call to global function 'cosh'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
| `- error: no exact matches in call to global function 'cosh'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
Foundation.cosh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cosh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:116:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
114 | long double atanhl(long double __x);
115 |
116 | double cosh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
117 | float coshf(float __x);
118 | long double coshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:81:61: error: no 'cosh' candidates produce the expected contextual result type 'Float'
79 | @inlinable public func cbrt() -> Float {return Foundation.cbrt(self)}
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
| `- error: no 'cosh' candidates produce the expected contextual result type 'Float'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
Foundation.cosh:1:13: note: 'cosh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cosh(_ x: CGFloat) -> CGFloat
| `- note: 'cosh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:116:8: note: 'cosh' produces 'Double', not the expected contextual result type 'Float'
114 | long double atanhl(long double __x);
115 |
116 | double cosh(double __x);
| `- note: 'cosh' produces 'Double', not the expected contextual result type 'Float'
117 | float coshf(float __x);
118 | long double coshl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:82:60: error: no exact matches in call to global function 'erf'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
| `- error: no exact matches in call to global function 'erf'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
Foundation.erf:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func erf(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:204:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
202 | long double sqrtl(long double __x);
203 |
204 | double erf(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
205 | float erff(float __x);
206 | long double erfl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:82:60: error: no 'erf' candidates produce the expected contextual result type 'Float'
80 | @inlinable public func cos() -> Float {return Foundation.cos(self)}
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
| `- error: no 'erf' candidates produce the expected contextual result type 'Float'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
Foundation.erf:1:13: note: 'erf' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func erf(_ x: CGFloat) -> CGFloat
| `- note: 'erf' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:204:8: note: 'erf' produces 'Double', not the expected contextual result type 'Float'
202 | long double sqrtl(long double __x);
203 |
204 | double erf(double __x);
| `- note: 'erf' produces 'Double', not the expected contextual result type 'Float'
205 | float erff(float __x);
206 | long double erfl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:83:61: error: no exact matches in call to global function 'erfc'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
| `- error: no exact matches in call to global function 'erfc'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
Foundation.erfc:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func erfc(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:208:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
206 | long double erfl(long double __x);
207 |
208 | double erfc(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
209 | float erfcf(float __x);
210 | long double erfcl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:83:61: error: no 'erfc' candidates produce the expected contextual result type 'Float'
81 | @inlinable public func cosh() -> Float {return Foundation.cosh(self)}
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
| `- error: no 'erfc' candidates produce the expected contextual result type 'Float'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
Foundation.erfc:1:13: note: 'erfc' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func erfc(_ x: CGFloat) -> CGFloat
| `- note: 'erfc' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:208:8: note: 'erfc' produces 'Double', not the expected contextual result type 'Float'
206 | long double erfl(long double __x);
207 |
208 | double erfc(double __x);
| `- note: 'erfc' produces 'Double', not the expected contextual result type 'Float'
209 | float erfcf(float __x);
210 | long double erfcl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:84:60: error: no exact matches in call to global function 'exp'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
| `- error: no exact matches in call to global function 'exp'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
Foundation.exp:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:84:60: error: no 'exp' candidates produce the expected contextual result type 'Float'
82 | @inlinable public func erf() -> Float {return Foundation.erf(self)}
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
| `- error: no 'exp' candidates produce the expected contextual result type 'Float'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
Foundation.exp:1:13: note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:85:61: error: no exact matches in call to global function 'exp2'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
| `- error: no exact matches in call to global function 'exp2'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
Foundation.exp2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:132:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
130 | long double expl(long double __x);
131 |
132 | double exp2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
133 | float exp2f(float __x);
134 | long double exp2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:85:61: error: no 'exp2' candidates produce the expected contextual result type 'Float'
83 | @inlinable public func erfc() -> Float {return Foundation.erfc(self)}
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
| `- error: no 'exp2' candidates produce the expected contextual result type 'Float'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
Foundation.exp2:1:13: note: 'exp2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp2(_ x: CGFloat) -> CGFloat
| `- note: 'exp2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:132:8: note: 'exp2' produces 'Double', not the expected contextual result type 'Float'
130 | long double expl(long double __x);
131 |
132 | double exp2(double __x);
| `- note: 'exp2' produces 'Double', not the expected contextual result type 'Float'
133 | float exp2f(float __x);
134 | long double exp2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:86:62: error: no exact matches in call to global function 'expm1'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
| `- error: no exact matches in call to global function 'expm1'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
Foundation.expm1:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func expm1(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:136:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
134 | long double exp2l(long double __x);
135 |
136 | double expm1(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
137 | float expm1f(float __x);
138 | long double expm1l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:86:62: error: no 'expm1' candidates produce the expected contextual result type 'Float'
84 | @inlinable public func exp() -> Float {return Foundation.exp(self)}
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
| `- error: no 'expm1' candidates produce the expected contextual result type 'Float'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
Foundation.expm1:1:13: note: 'expm1' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func expm1(_ x: CGFloat) -> CGFloat
| `- note: 'expm1' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:136:8: note: 'expm1' produces 'Double', not the expected contextual result type 'Float'
134 | long double exp2l(long double __x);
135 |
136 | double expm1(double __x);
| `- note: 'expm1' produces 'Double', not the expected contextual result type 'Float'
137 | float expm1f(float __x);
138 | long double expm1l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:87:60: error: no exact matches in call to global function 'log'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
| `- error: no exact matches in call to global function 'log'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:87:60: error: no 'log' candidates produce the expected contextual result type 'Float'
85 | @inlinable public func exp2() -> Float {return Foundation.exp2(self)}
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
| `- error: no 'log' candidates produce the expected contextual result type 'Float'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:88:62: error: no exact matches in call to global function 'log10'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
| `- error: no exact matches in call to global function 'log10'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
Foundation.log10:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log10(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:156:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
154 | long double logl(long double __x);
155 |
156 | double log10(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
157 | float log10f(float __x);
158 | long double log10l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:88:62: error: no 'log10' candidates produce the expected contextual result type 'Float'
86 | @inlinable public func expm1() -> Float {return Foundation.expm1(self)}
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
| `- error: no 'log10' candidates produce the expected contextual result type 'Float'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
Foundation.log10:1:13: note: 'log10' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log10(_ x: CGFloat) -> CGFloat
| `- note: 'log10' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:156:8: note: 'log10' produces 'Double', not the expected contextual result type 'Float'
154 | long double logl(long double __x);
155 |
156 | double log10(double __x);
| `- note: 'log10' produces 'Double', not the expected contextual result type 'Float'
157 | float log10f(float __x);
158 | long double log10l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:89:62: error: no exact matches in call to global function 'log1p'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
| `- error: no exact matches in call to global function 'log1p'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
Foundation.log1p:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log1p(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:160:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
158 | long double log10l(long double __x);
159 |
160 | double log1p(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
161 | float log1pf(float __x);
162 | long double log1pl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:89:62: error: no 'log1p' candidates produce the expected contextual result type 'Float'
87 | @inlinable public func log() -> Float {return Foundation.log(self)}
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
| `- error: no 'log1p' candidates produce the expected contextual result type 'Float'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
Foundation.log1p:1:13: note: 'log1p' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log1p(_ x: CGFloat) -> CGFloat
| `- note: 'log1p' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:160:8: note: 'log1p' produces 'Double', not the expected contextual result type 'Float'
158 | long double log10l(long double __x);
159 |
160 | double log1p(double __x);
| `- note: 'log1p' produces 'Double', not the expected contextual result type 'Float'
161 | float log1pf(float __x);
162 | long double log1pl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:90:61: error: no exact matches in call to global function 'log2'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
| `- error: no exact matches in call to global function 'log2'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:90:61: error: no 'log2' candidates produce the expected contextual result type 'Float'
88 | @inlinable public func log10() -> Float {return Foundation.log10(self)}
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
| `- error: no 'log2' candidates produce the expected contextual result type 'Float'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
Foundation.log2:1:13: note: 'log2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: 'log2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:164:8: note: 'log2' produces 'Double', not the expected contextual result type 'Float'
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: 'log2' produces 'Double', not the expected contextual result type 'Float'
165 | float log2f(float __x);
166 | long double log2l(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:91:61: error: no exact matches in call to global function 'logb'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
| `- error: no exact matches in call to global function 'logb'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
Foundation.logb:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func logb(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:168:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
166 | long double log2l(long double __x);
167 |
168 | double logb(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
169 | float logbf(float __x);
170 | long double logbl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:91:61: error: no 'logb' candidates produce the expected contextual result type 'Float'
89 | @inlinable public func log1p() -> Float {return Foundation.log1p(self)}
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
| `- error: no 'logb' candidates produce the expected contextual result type 'Float'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
Foundation.logb:1:13: note: 'logb' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func logb(_ x: CGFloat) -> CGFloat
| `- note: 'logb' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:168:8: note: 'logb' produces 'Double', not the expected contextual result type 'Float'
166 | long double log2l(long double __x);
167 |
168 | double logb(double __x);
| `- note: 'logb' produces 'Double', not the expected contextual result type 'Float'
169 | float logbf(float __x);
170 | long double logbl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:92:66: error: no exact matches in call to global function 'nearbyint'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
| `- error: no exact matches in call to global function 'nearbyint'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
Foundation.nearbyint:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func nearbyint(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:228:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
226 | long double floorl(long double __x);
227 |
228 | double nearbyint(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
229 | float nearbyintf(float __x);
230 | long double nearbyintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:92:66: error: no 'nearbyint' candidates produce the expected contextual result type 'Float'
90 | @inlinable public func log2() -> Float {return Foundation.log2(self)}
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
| `- error: no 'nearbyint' candidates produce the expected contextual result type 'Float'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
Foundation.nearbyint:1:13: note: 'nearbyint' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func nearbyint(_ x: CGFloat) -> CGFloat
| `- note: 'nearbyint' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:228:8: note: 'nearbyint' produces 'Double', not the expected contextual result type 'Float'
226 | long double floorl(long double __x);
227 |
228 | double nearbyint(double __x);
| `- note: 'nearbyint' produces 'Double', not the expected contextual result type 'Float'
229 | float nearbyintf(float __x);
230 | long double nearbyintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:93:61: error: no exact matches in call to global function 'rint'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
| `- error: no exact matches in call to global function 'rint'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
Foundation.rint:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func rint(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:232:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
230 | long double nearbyintl(long double __x);
231 |
232 | double rint(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
233 | float rintf(float __x);
234 | long double rintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:93:61: error: no 'rint' candidates produce the expected contextual result type 'Float'
91 | @inlinable public func logb() -> Float {return Foundation.logb(self)}
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
| `- error: no 'rint' candidates produce the expected contextual result type 'Float'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
Foundation.rint:1:13: note: 'rint' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func rint(_ x: CGFloat) -> CGFloat
| `- note: 'rint' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:232:8: note: 'rint' produces 'Double', not the expected contextual result type 'Float'
230 | long double nearbyintl(long double __x);
231 |
232 | double rint(double __x);
| `- note: 'rint' produces 'Double', not the expected contextual result type 'Float'
233 | float rintf(float __x);
234 | long double rintl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:94:60: error: no exact matches in call to global function 'sin'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
| `- error: no exact matches in call to global function 'sin'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:94:60: error: no 'sin' candidates produce the expected contextual result type 'Float'
92 | @inlinable public func nearbyint() -> Float {return Foundation.nearbyint(self)}
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:95:61: error: no exact matches in call to global function 'sinh'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
| `- error: no exact matches in call to global function 'sinh'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
Foundation.sinh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sinh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:120:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
118 | long double coshl(long double __x);
119 |
120 | double sinh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
121 | float sinhf(float __x);
122 | long double sinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:95:61: error: no 'sinh' candidates produce the expected contextual result type 'Float'
93 | @inlinable public func rint() -> Float {return Foundation.rint(self)}
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
| `- error: no 'sinh' candidates produce the expected contextual result type 'Float'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
Foundation.sinh:1:13: note: 'sinh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sinh(_ x: CGFloat) -> CGFloat
| `- note: 'sinh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:120:8: note: 'sinh' produces 'Double', not the expected contextual result type 'Float'
118 | long double coshl(long double __x);
119 |
120 | double sinh(double __x);
| `- note: 'sinh' produces 'Double', not the expected contextual result type 'Float'
121 | float sinhf(float __x);
122 | long double sinhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:96:60: error: no exact matches in call to global function 'tan'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
| `- error: no exact matches in call to global function 'tan'
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
Foundation.tan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:100:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
98 | long double sinl(long double __x);
99 |
100 | double tan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
101 | float tanf(float __x);
102 | long double tanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:96:60: error: no 'tan' candidates produce the expected contextual result type 'Float'
94 | @inlinable public func sin() -> Float {return Foundation.sin(self)}
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
Foundation.tan:1:13: note: 'tan' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tan(_ x: CGFloat) -> CGFloat
| `- note: 'tan' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:100:8: note: 'tan' produces 'Double', not the expected contextual result type 'Float'
98 | long double sinl(long double __x);
99 |
100 | double tan(double __x);
| `- note: 'tan' produces 'Double', not the expected contextual result type 'Float'
101 | float tanf(float __x);
102 | long double tanl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:97:61: error: no exact matches in call to global function 'tanh'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
| `- error: no exact matches in call to global function 'tanh'
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
99 |
Foundation.tanh:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tanh(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:124:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
122 | long double sinhl(long double __x);
123 |
124 | double tanh(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
125 | float tanhf(float __x);
126 | long double tanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:97:61: error: no 'tanh' candidates produce the expected contextual result type 'Float'
95 | @inlinable public func sinh() -> Float {return Foundation.sinh(self)}
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
| `- error: no 'tanh' candidates produce the expected contextual result type 'Float'
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
99 |
Foundation.tanh:1:13: note: 'tanh' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tanh(_ x: CGFloat) -> CGFloat
| `- note: 'tanh' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:124:8: note: 'tanh' produces 'Double', not the expected contextual result type 'Float'
122 | long double sinhl(long double __x);
123 |
124 | double tanh(double __x);
| `- note: 'tanh' produces 'Double', not the expected contextual result type 'Float'
125 | float tanhf(float __x);
126 | long double tanhl(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:98:63: error: no exact matches in call to global function 'tgamma'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
| `- error: no exact matches in call to global function 'tgamma'
99 |
100 | @inlinable public func min(_ b: Float) -> Float {return Swift.min(self, b)}
Foundation.tgamma:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func tgamma(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:216:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
214 | long double lgammal(long double __x);
215 |
216 | double tgamma(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
217 | float tgammaf(float __x);
218 | long double tgammal(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:98:63: error: no 'tgamma' candidates produce the expected contextual result type 'Float'
96 | @inlinable public func tan() -> Float {return Foundation.tan(self)}
97 | @inlinable public func tanh() -> Float {return Foundation.tanh(self)}
98 | @inlinable public func tgamma() -> Float {return Foundation.tgamma(self)}
| `- error: no 'tgamma' candidates produce the expected contextual result type 'Float'
99 |
100 | @inlinable public func min(_ b: Float) -> Float {return Swift.min(self, b)}
Foundation.tgamma:1:13: note: 'tgamma' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func tgamma(_ x: CGFloat) -> CGFloat
| `- note: 'tgamma' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:216:8: note: 'tgamma' produces 'Double', not the expected contextual result type 'Float'
214 | long double lgammal(long double __x);
215 |
216 | double tgamma(double __x);
| `- note: 'tgamma' produces 'Double', not the expected contextual result type 'Float'
217 | float tgammaf(float __x);
218 | long double tgammal(long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:105:70: error: no exact matches in call to global function 'pow'
103 | @inlinable public func abs() -> Float {return Swift.abs(self)}
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:105:70: error: no 'pow' candidates produce the expected contextual result type 'Float'
103 | @inlinable public func abs() -> Float {return Swift.abs(self)}
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:106:72: error: no exact matches in call to global function 'atan2'
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:106:72: error: no 'atan2' candidates produce the expected contextual result type 'Float'
104 |
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
| `- error: no 'atan2' candidates produce the expected contextual result type 'Float'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:107:75: error: no exact matches in call to global function 'copysign'
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
| |- error: no exact matches in call to global function 'copysign'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:272:8: note: candidate has partially matching parameter list (Double, Double)
270 | long double remquol(long double __x, long double __y, int* _Nonnull __quotient_bits);
271 |
272 | double copysign(double __value, double __sign) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
273 | float copysignf(float __value, float __sign) __attribute_const__;
274 | long double copysignl(long double __value, long double __sign) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:107:75: error: no 'copysign' candidates produce the expected contextual result type 'Float'
105 | @inlinable public func pow(_ b: Float) -> Float {return Foundation.pow(self, b)}
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
| `- error: no 'copysign' candidates produce the expected contextual result type 'Float'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
Foundation.copysign:1:13: note: 'copysign' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func copysign(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'copysign' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:272:8: note: 'copysign' produces 'Double', not the expected contextual result type 'Float'
270 | long double remquol(long double __x, long double __y, int* _Nonnull __quotient_bits);
271 |
272 | double copysign(double __value, double __sign) __attribute_const__;
| `- note: 'copysign' produces 'Double', not the expected contextual result type 'Float'
273 | float copysignf(float __value, float __sign) __attribute_const__;
274 | long double copysignl(long double __value, long double __sign) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:108:71: error: no exact matches in call to global function 'fdim'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
| |- error: no exact matches in call to global function 'fdim'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:288:8: note: candidate has partially matching parameter list (Double, Double)
286 | long double nexttowardl(long double __x, long double __y);
287 |
288 | double fdim(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
289 | float fdimf(float __x, float __y);
290 | long double fdiml(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:108:71: error: no 'fdim' candidates produce the expected contextual result type 'Float'
106 | @inlinable public func atan2(_ b: Float) -> Float {return Foundation.atan2(self, b)}
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
| `- error: no 'fdim' candidates produce the expected contextual result type 'Float'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
Foundation.fdim:1:13: note: 'fdim' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fdim(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fdim' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:288:8: note: 'fdim' produces 'Double', not the expected contextual result type 'Float'
286 | long double nexttowardl(long double __x, long double __y);
287 |
288 | double fdim(double __x, double __y);
| `- note: 'fdim' produces 'Double', not the expected contextual result type 'Float'
289 | float fdimf(float __x, float __y);
290 | long double fdiml(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:109:71: error: no exact matches in call to global function 'fmax'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
| |- error: no exact matches in call to global function 'fmax'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:292:8: note: candidate has partially matching parameter list (Double, Double)
290 | long double fdiml(long double __x, long double __y);
291 |
292 | double fmax(double __x, double __y) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
293 | float fmaxf(float __x, float __y) __attribute_const__;
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:109:71: error: no 'fmax' candidates produce the expected contextual result type 'Float'
107 | @inlinable public func copysign(_ b: Float) -> Float {return Foundation.copysign(self, b)}
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
| `- error: no 'fmax' candidates produce the expected contextual result type 'Float'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
Foundation.fmax:1:13: note: 'fmax' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fmax(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fmax' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:292:8: note: 'fmax' produces 'Double', not the expected contextual result type 'Float'
290 | long double fdiml(long double __x, long double __y);
291 |
292 | double fmax(double __x, double __y) __attribute_const__;
| `- note: 'fmax' produces 'Double', not the expected contextual result type 'Float'
293 | float fmaxf(float __x, float __y) __attribute_const__;
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:110:71: error: no exact matches in call to global function 'fmin'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
| |- error: no exact matches in call to global function 'fmin'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:296:8: note: candidate has partially matching parameter list (Double, Double)
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
295 |
296 | double fmin(double __x, double __y) __attribute_const__;
| `- note: candidate has partially matching parameter list (Double, Double)
297 | float fminf(float __x, float __y) __attribute_const__;
298 | long double fminl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:110:71: error: no 'fmin' candidates produce the expected contextual result type 'Float'
108 | @inlinable public func fdim(_ b: Float) -> Float {return Foundation.fdim(self, b)}
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
| `- error: no 'fmin' candidates produce the expected contextual result type 'Float'
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
Foundation.fmin:1:13: note: 'fmin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func fmin(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'fmin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:296:8: note: 'fmin' produces 'Double', not the expected contextual result type 'Float'
294 | long double fmaxl(long double __x, long double __y) __attribute_const__;
295 |
296 | double fmin(double __x, double __y) __attribute_const__;
| `- note: 'fmin' produces 'Double', not the expected contextual result type 'Float'
297 | float fminf(float __x, float __y) __attribute_const__;
298 | long double fminl(long double __x, long double __y) __attribute_const__;
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:111:72: error: no exact matches in call to global function 'hypot'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
| |- error: no exact matches in call to global function 'hypot'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
113 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: candidate has partially matching parameter list (Double, Double)
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:111:72: error: no 'hypot' candidates produce the expected contextual result type 'Float'
109 | @inlinable public func fmax(_ b: Float) -> Float {return Foundation.fmax(self, b)}
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
| `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
113 |
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no exact matches in call to global function 'nextafter'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| |- error: no exact matches in call to global function 'nextafter'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: candidate has partially matching parameter list (Double, Double)
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/BaseMath/BaseMath.swift:112:76: error: no 'nextafter' candidates produce the expected contextual result type 'Float'
110 | @inlinable public func fmin(_ b: Float) -> Float {return Foundation.fmin(self, b)}
111 | @inlinable public func hypot(_ b: Float) -> Float {return Foundation.hypot(self, b)}
112 | @inlinable public func nextafter(_ b: Float) -> Float {return Foundation.nextafter(self, b)}
| `- error: no 'nextafter' candidates produce the expected contextual result type 'Float'
113 |
114 | @inlinable public static func sum(_ a:PtrT, _ n:Int32) -> Element { return smSum_float(a, n) }
Foundation.nextafter:1:13: note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func nextafter(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'nextafter' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:280:8: note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
278 | long double nanl(const char* _Nonnull __kind) __attribute_const__;
279 |
280 | double nextafter(double __x, double __y);
| `- note: 'nextafter' produces 'Double', not the expected contextual result type 'Float'
281 | float nextafterf(float __x, float __y);
282 | long double nextafterl(long double __x, long double __y);
BUILD FAILURE 6.1 android