Build Information
Failed to build FFFoundation, reference 9.8.0 (ff2c8a), with Swift 6.2 for Android on 25 Mar 2026 22:05:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ffried/fffoundation.git
Reference: 9.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ffried/fffoundation
* tag 9.8.0 -> FETCH_HEAD
HEAD is now at ff2c8aa Fix build on older platforms
Cloned https://github.com/ffried/fffoundation.git
Revision (git rev-parse @):
ff2c8aa6644bcc4a70ec7156a5f49cfacc95601c
SUCCESS checkout https://github.com/ffried/fffoundation.git at 9.8.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ffried/fffoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.93s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.90s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.46s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--11D90AFD9DD3AB2.txt
[5/38] Compiling FFFoundation Triangle.swift
/host/spi-builder-workspace/Sources/FFFoundation/OSLogLinux.swift:113:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
111 |
112 | public func os_log(_ msg: StaticString, dso: UnsafeRawPointer? = #dsohandle, log: OSLog = .default, type: OSLogType = .default, _ args: any CVarArg...) {
113 | log.write(message: msg, dso: dso, type: type, args: args)
| | |- note: argument 'dso' in call to instance method 'write' has unsafe type 'UnsafeRawPointer?'
| | `- note: reference to parameter 'dso' involves unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
114 | }
115 | #endif
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[6/38] Compiling FFFoundation Logging.swift
/host/spi-builder-workspace/Sources/FFFoundation/OSLogLinux.swift:113:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
111 |
112 | public func os_log(_ msg: StaticString, dso: UnsafeRawPointer? = #dsohandle, log: OSLog = .default, type: OSLogType = .default, _ args: any CVarArg...) {
113 | log.write(message: msg, dso: dso, type: type, args: args)
| | |- note: argument 'dso' in call to instance method 'write' has unsafe type 'UnsafeRawPointer?'
| | `- note: reference to parameter 'dso' involves unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
114 | }
115 | #endif
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[7/38] Compiling FFFoundation OSLogLinux.swift
/host/spi-builder-workspace/Sources/FFFoundation/OSLogLinux.swift:113:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
111 |
112 | public func os_log(_ msg: StaticString, dso: UnsafeRawPointer? = #dsohandle, log: OSLog = .default, type: OSLogType = .default, _ args: any CVarArg...) {
113 | log.write(message: msg, dso: dso, type: type, args: args)
| | |- note: argument 'dso' in call to instance method 'write' has unsafe type 'UnsafeRawPointer?'
| | `- note: reference to parameter 'dso' involves unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
114 | }
115 | #endif
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[8/38] Compiling FFFoundation PropertyKey.swift
/host/spi-builder-workspace/Sources/FFFoundation/OSLogLinux.swift:113:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
111 |
112 | public func os_log(_ msg: StaticString, dso: UnsafeRawPointer? = #dsohandle, log: OSLog = .default, type: OSLogType = .default, _ args: any CVarArg...) {
113 | log.write(message: msg, dso: dso, type: type, args: args)
| | |- note: argument 'dso' in call to instance method 'write' has unsafe type 'UnsafeRawPointer?'
| | `- note: reference to parameter 'dso' involves unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
114 | }
115 | #endif
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[9/42] Compiling FFFoundation Angle.swift
/host/spi-builder-workspace/Sources/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no exact matches in call to global function 'sin'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no exact matches in call to global function 'sin'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no 'sin' candidates produce the expected contextual result type 'Float'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no exact matches in call to global function 'asin'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no exact matches in call to global function 'asin'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no 'asin' candidates produce the expected contextual result type 'Float'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no exact matches in call to global function 'cos'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no exact matches in call to global function 'cos'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no 'cos' candidates produce the expected contextual result type 'Float'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no exact matches in call to global function 'acos'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no exact matches in call to global function 'acos'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no 'acos' candidates produce the expected contextual result type 'Float'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no exact matches in call to global function 'tan'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no exact matches in call to global function 'tan'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no 'tan' candidates produce the expected contextual result type 'Float'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no exact matches in call to global function 'atan'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no exact matches in call to global function 'atan'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no 'atan' candidates produce the expected contextual result type 'Float'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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);
[10/42] Compiling FFFoundation GeometricValue.swift
/host/spi-builder-workspace/Sources/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no exact matches in call to global function 'sin'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no exact matches in call to global function 'sin'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no 'sin' candidates produce the expected contextual result type 'Float'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no exact matches in call to global function 'asin'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no exact matches in call to global function 'asin'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no 'asin' candidates produce the expected contextual result type 'Float'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no exact matches in call to global function 'cos'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no exact matches in call to global function 'cos'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no 'cos' candidates produce the expected contextual result type 'Float'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no exact matches in call to global function 'acos'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no exact matches in call to global function 'acos'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no 'acos' candidates produce the expected contextual result type 'Float'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no exact matches in call to global function 'tan'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no exact matches in call to global function 'tan'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no 'tan' candidates produce the expected contextual result type 'Float'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no exact matches in call to global function 'atan'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no exact matches in call to global function 'atan'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no 'atan' candidates produce the expected contextual result type 'Float'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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);
[11/42] Compiling FFFoundation Point.swift
/host/spi-builder-workspace/Sources/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no exact matches in call to global function 'sin'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no exact matches in call to global function 'sin'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no 'sin' candidates produce the expected contextual result type 'Float'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no exact matches in call to global function 'asin'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no exact matches in call to global function 'asin'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no 'asin' candidates produce the expected contextual result type 'Float'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no exact matches in call to global function 'cos'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no exact matches in call to global function 'cos'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no 'cos' candidates produce the expected contextual result type 'Float'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no exact matches in call to global function 'acos'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no exact matches in call to global function 'acos'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no 'acos' candidates produce the expected contextual result type 'Float'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no exact matches in call to global function 'tan'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no exact matches in call to global function 'tan'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no 'tan' candidates produce the expected contextual result type 'Float'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no exact matches in call to global function 'atan'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no exact matches in call to global function 'atan'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no 'atan' candidates produce the expected contextual result type 'Float'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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);
[12/42] Compiling FFFoundation Size.swift
/host/spi-builder-workspace/Sources/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no exact matches in call to global function 'sin'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no exact matches in call to global function 'sin'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no 'sin' candidates produce the expected contextual result type 'Float'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no exact matches in call to global function 'asin'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no exact matches in call to global function 'asin'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no 'asin' candidates produce the expected contextual result type 'Float'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no exact matches in call to global function 'cos'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no exact matches in call to global function 'cos'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no 'cos' candidates produce the expected contextual result type 'Float'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no exact matches in call to global function 'acos'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no exact matches in call to global function 'acos'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no 'acos' candidates produce the expected contextual result type 'Float'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no exact matches in call to global function 'tan'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no exact matches in call to global function 'tan'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no 'tan' candidates produce the expected contextual result type 'Float'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no exact matches in call to global function 'atan'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no exact matches in call to global function 'atan'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no 'atan' candidates produce the expected contextual result type 'Float'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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);
[13/42] Compiling FFFoundation NSLayoutConstraint+FFAdditions.swift
[14/42] Compiling FFFoundation OperationQueue+FFAdditions.swift
[15/42] Compiling FFFoundation Predicate+Key.swift
[16/42] Compiling FFFoundation Predicate+Operators.swift
[17/42] Compiling FFFoundation Predicate+StringInterpolation.swift
[18/42] Compiling FFFoundation SortDescriptor+Key.swift
[19/42] Compiling FFFoundation SortDescriptor+Operators.swift
[20/42] Compiling FFFoundation String+Classes.swift
[21/42] Compiling FFFoundation StringExtensions.swift
[22/42] Compiling FFFoundation GCDFuture.swift
[23/42] Compiling FFFoundation DispatchHelpers.swift
/host/spi-builder-workspace/Sources/FFFoundation/DispatchHelpers.swift:32:16: error: 'rawValue' is inaccessible due to 'internal' protection level
30 | private var sortValue: UInt32 {
31 | #if !os(Linux)
32 | return rawValue.rawValue
| `- error: 'rawValue' is inaccessible due to 'internal' protection level
33 | #else
34 | switch self {
Dispatch.DispatchQoS.QoSClass.rawValue:4:18: note: 'rawValue' declared here
2 | enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 | internal var rawValue: _OSQoSClass { get } }
| `- note: 'rawValue' declared here
5 | }
6 |
[24/42] Compiling FFFoundation DictionaryExtensions.swift
/host/spi-builder-workspace/Sources/FFFoundation/DispatchHelpers.swift:32:16: error: 'rawValue' is inaccessible due to 'internal' protection level
30 | private var sortValue: UInt32 {
31 | #if !os(Linux)
32 | return rawValue.rawValue
| `- error: 'rawValue' is inaccessible due to 'internal' protection level
33 | #else
34 | switch self {
Dispatch.DispatchQoS.QoSClass.rawValue:4:18: note: 'rawValue' declared here
2 | enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 | internal var rawValue: _OSQoSClass { get } }
| `- note: 'rawValue' declared here
5 | }
6 |
[25/42] Compiling FFFoundation FileManager+Directories.swift
/host/spi-builder-workspace/Sources/FFFoundation/DispatchHelpers.swift:32:16: error: 'rawValue' is inaccessible due to 'internal' protection level
30 | private var sortValue: UInt32 {
31 | #if !os(Linux)
32 | return rawValue.rawValue
| `- error: 'rawValue' is inaccessible due to 'internal' protection level
33 | #else
34 | switch self {
Dispatch.DispatchQoS.QoSClass.rawValue:4:18: note: 'rawValue' declared here
2 | enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 | internal var rawValue: _OSQoSClass { get } }
| `- note: 'rawValue' declared here
5 | }
6 |
[26/42] Compiling FFFoundation Locale+LanguageRegion.swift
/host/spi-builder-workspace/Sources/FFFoundation/DispatchHelpers.swift:32:16: error: 'rawValue' is inaccessible due to 'internal' protection level
30 | private var sortValue: UInt32 {
31 | #if !os(Linux)
32 | return rawValue.rawValue
| `- error: 'rawValue' is inaccessible due to 'internal' protection level
33 | #else
34 | switch self {
Dispatch.DispatchQoS.QoSClass.rawValue:4:18: note: 'rawValue' declared here
2 | enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 | internal var rawValue: _OSQoSClass { get } }
| `- note: 'rawValue' declared here
5 | }
6 |
[27/42] Compiling FFFoundation NSAttributedStringExtensions.swift
/host/spi-builder-workspace/Sources/FFFoundation/DispatchHelpers.swift:32:16: error: 'rawValue' is inaccessible due to 'internal' protection level
30 | private var sortValue: UInt32 {
31 | #if !os(Linux)
32 | return rawValue.rawValue
| `- error: 'rawValue' is inaccessible due to 'internal' protection level
33 | #else
34 | switch self {
Dispatch.DispatchQoS.QoSClass.rawValue:4:18: note: 'rawValue' declared here
2 | enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 | internal var rawValue: _OSQoSClass { get } }
| `- note: 'rawValue' declared here
5 | }
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/42] Emitting module FFFoundation
/host/spi-builder-workspace/Sources/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no exact matches in call to global function 'sin'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no exact matches in call to global function 'sin'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:49:45: error: no 'sin' candidates produce the expected contextual result type 'Float'
47 | extension Float: GeometricValue {
48 | @inlinable
49 | public func sin() -> Float { Foundation.sin(self) }
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no exact matches in call to global function 'asin'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no exact matches in call to global function 'asin'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:51:46: error: no 'asin' candidates produce the expected contextual result type 'Float'
49 | public func sin() -> Float { Foundation.sin(self) }
50 | @inlinable
51 | public func asin() -> Float { Foundation.asin(self) }
| `- error: no 'asin' candidates produce the expected contextual result type 'Float'
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no exact matches in call to global function 'cos'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no exact matches in call to global function 'cos'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:53:45: error: no 'cos' candidates produce the expected contextual result type 'Float'
51 | public func asin() -> Float { Foundation.asin(self) }
52 | @inlinable
53 | public func cos() -> Float { Foundation.cos(self) }
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no exact matches in call to global function 'acos'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no exact matches in call to global function 'acos'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:55:46: error: no 'acos' candidates produce the expected contextual result type 'Float'
53 | public func cos() -> Float { Foundation.cos(self) }
54 | @inlinable
55 | public func acos() -> Float { Foundation.acos(self) }
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no exact matches in call to global function 'tan'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no exact matches in call to global function 'tan'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:57:45: error: no 'tan' candidates produce the expected contextual result type 'Float'
55 | public func acos() -> Float { Foundation.acos(self) }
56 | @inlinable
57 | public func tan() -> Float { Foundation.tan(self) }
| `- error: no 'tan' candidates produce the expected contextual result type 'Float'
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no exact matches in call to global function 'atan'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no exact matches in call to global function 'atan'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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/FFFoundation/Geometry/GeometricValue.swift:59:46: error: no 'atan' candidates produce the expected contextual result type 'Float'
57 | public func tan() -> Float { Foundation.tan(self) }
58 | @inlinable
59 | public func atan() -> Float { Foundation.atan(self) }
| `- error: no 'atan' candidates produce the expected contextual result type 'Float'
60 | }
61 |
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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-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);
[29/42] Compiling FFFoundation CacheManager.swift
[30/42] Compiling FFFoundation CoW.swift
[31/42] Compiling FFFoundation Lazy.swift
[32/42] Compiling FFFoundation Lens.swift
[33/42] Compiling FFFoundation Ref.swift
[34/42] Compiling FFFoundation Synchronized.swift
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:50:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
48 | #if compiler(>=6.2)
49 | unsafe os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
50 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
51 | #else
52 | os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:92:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
90 | #if compiler(>=6.2)
91 | unsafe os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
92 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
93 | #else
94 | os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:83:26: warning: no unsafe operations occur within 'unsafe' expression
81 | do {
82 | #if compiler(>=6.2)
83 | let object = unsafe try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
| `- warning: no unsafe operations occur within 'unsafe' expression
84 | #else
85 | let object = try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
[35/42] Compiling FFFoundation UserDefault.swift
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:50:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
48 | #if compiler(>=6.2)
49 | unsafe os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
50 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
51 | #else
52 | os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:92:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
90 | #if compiler(>=6.2)
91 | unsafe os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
92 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
93 | #else
94 | os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:83:26: warning: no unsafe operations occur within 'unsafe' expression
81 | do {
82 | #if compiler(>=6.2)
83 | let object = unsafe try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
| `- warning: no unsafe operations occur within 'unsafe' expression
84 | #else
85 | let object = try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
[36/42] Compiling FFFoundation UserDefaultsStorable.swift
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:50:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
48 | #if compiler(>=6.2)
49 | unsafe os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
50 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
51 | #else
52 | os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:92:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
90 | #if compiler(>=6.2)
91 | unsafe os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
92 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
93 | #else
94 | os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:83:26: warning: no unsafe operations occur within 'unsafe' expression
81 | do {
82 | #if compiler(>=6.2)
83 | let object = unsafe try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
| `- warning: no unsafe operations occur within 'unsafe' expression
84 | #else
85 | let object = try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
[37/42] Compiling FFFoundation Weak.swift
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:50:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
48 | #if compiler(>=6.2)
49 | unsafe os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
50 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
51 | #else
52 | os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:92:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
90 | #if compiler(>=6.2)
91 | unsafe os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
92 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
93 | #else
94 | os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:83:26: warning: no unsafe operations occur within 'unsafe' expression
81 | do {
82 | #if compiler(>=6.2)
83 | let object = unsafe try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
| `- warning: no unsafe operations occur within 'unsafe' expression
84 | #else
85 | let object = try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
[38/42] Compiling FFFoundation Diff.swift
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:50:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
48 | #if compiler(>=6.2)
49 | unsafe os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
50 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
51 | #else
52 | os_log("[UserDefault] Could not decode %@ for key %@ from user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:92:97: error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
90 | #if compiler(>=6.2)
91 | unsafe os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
92 | log: .ffFoundation, type: .error, String(describing: Self.self), key, userDefaults)
| `- error: argument type 'UserDefaults' does not conform to expected type 'CVarArg'
93 | #else
94 | os_log("[UserDefault] Could not encode %@ for key %@ for user defaults %@",
/host/spi-builder-workspace/Sources/FFFoundation/Containers/UserDefaultsStorable.swift:83:26: warning: no unsafe operations occur within 'unsafe' expression
81 | do {
82 | #if compiler(>=6.2)
83 | let object = unsafe try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
| `- warning: no unsafe operations occur within 'unsafe' expression
84 | #else
85 | let object = try PropertyListSerialization.propertyList(from: PropertyListEncoder().encode(self), options: [], format: nil)
[39/42] Compiling FFFoundation SendableMetaTypeShim.swift
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:63:54: error: cannot find 'NSEC_PER_SEC' in scope
61 |
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:64:56: error: cannot find 'NSEC_PER_SEC' in scope
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
66 | }
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:78:34: error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
76 | public func invalidate() {
77 | guard isValid else { return }
78 | queue.async { [timer] in timer.cancel() }
| `- error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
79 | isValid = false
80 | }
Dispatch.DispatchSourceTimer:1:17: note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceTimer : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
2 | func scheduleOneshot(deadline: DispatchTime, leeway: DispatchTimeInterval)
3 | func scheduleOneshot(wallDeadline: DispatchWallTime, leeway: DispatchTimeInterval)
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:28:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
26 | @preconcurrency import Dispatch
27 | #else
28 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
29 | #endif
30 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[40/42] Compiling FFFoundation Timer.swift
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:63:54: error: cannot find 'NSEC_PER_SEC' in scope
61 |
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:64:56: error: cannot find 'NSEC_PER_SEC' in scope
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
66 | }
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:78:34: error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
76 | public func invalidate() {
77 | guard isValid else { return }
78 | queue.async { [timer] in timer.cancel() }
| `- error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
79 | isValid = false
80 | }
Dispatch.DispatchSourceTimer:1:17: note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceTimer : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
2 | func scheduleOneshot(deadline: DispatchTime, leeway: DispatchTimeInterval)
3 | func scheduleOneshot(wallDeadline: DispatchWallTime, leeway: DispatchTimeInterval)
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:28:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
26 | @preconcurrency import Dispatch
27 | #else
28 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
29 | #endif
30 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[41/42] Compiling FFFoundation Togglable.swift
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:63:54: error: cannot find 'NSEC_PER_SEC' in scope
61 |
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:64:56: error: cannot find 'NSEC_PER_SEC' in scope
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
66 | }
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:78:34: error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
76 | public func invalidate() {
77 | guard isValid else { return }
78 | queue.async { [timer] in timer.cancel() }
| `- error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
79 | isValid = false
80 | }
Dispatch.DispatchSourceTimer:1:17: note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceTimer : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
2 | func scheduleOneshot(deadline: DispatchTime, leeway: DispatchTimeInterval)
3 | func scheduleOneshot(wallDeadline: DispatchWallTime, leeway: DispatchTimeInterval)
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:28:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
26 | @preconcurrency import Dispatch
27 | #else
28 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
29 | #endif
30 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[42/42] Compiling FFFoundation TypeDescription.swift
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:63:54: error: cannot find 'NSEC_PER_SEC' in scope
61 |
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:64:56: error: cannot find 'NSEC_PER_SEC' in scope
62 | private final func applyTimerProperties() {
63 | let nsInterval = Int(interval * TimeInterval(NSEC_PER_SEC))
64 | let nsTolerance = Int(tolerance * TimeInterval(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
65 | timer.schedule(deadline: .now() + interval, repeating: .nanoseconds(nsInterval), leeway: .nanoseconds(nsTolerance))
66 | }
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:78:34: error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
76 | public func invalidate() {
77 | guard isValid else { return }
78 | queue.async { [timer] in timer.cancel() }
| `- error: capture of 'timer' with non-Sendable type 'any DispatchSourceTimer' in a '@Sendable' closure [#SendableClosureCaptures]
79 | isValid = false
80 | }
Dispatch.DispatchSourceTimer:1:17: note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceTimer : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceTimer' does not conform to the 'Sendable' protocol
2 | func scheduleOneshot(deadline: DispatchTime, leeway: DispatchTimeInterval)
3 | func scheduleOneshot(wallDeadline: DispatchWallTime, leeway: DispatchTimeInterval)
/host/spi-builder-workspace/Sources/FFFoundation/Timer.swift:28:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
26 | @preconcurrency import Dispatch
27 | #else
28 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
29 | #endif
30 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
BUILD FAILURE 6.2 android