Build Information
Failed to build NumberKit, reference master (33af3f
), with Swift 6.1 for Android on 29 May 2025 07:38:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/objecthub/swift-numberkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 33af3f9 Delete swiftpm files
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
33af3f9011e45dcd8ee696492d30dbcd5a8a67f3
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
https://github.com/objecthub/swift-numberkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "NumberKit",
"name" : "NumberKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NumberKit",
"targets" : [
"NumberKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NumberKitTests",
"module_type" : "SwiftTarget",
"name" : "NumberKitTests",
"path" : "Tests/NumberKitTests",
"sources" : [
"BigIntTests.swift",
"CodableTests.swift",
"ComplexTests.swift",
"IntegerNumberTests.swift",
"IntegerTests.swift",
"NumberUtilTests.swift",
"RationalTests.swift"
],
"target_dependencies" : [
"NumberKit"
],
"type" : "test"
},
{
"c99name" : "NumberKit",
"module_type" : "SwiftTarget",
"name" : "NumberKit",
"path" : "Sources/NumberKit",
"product_memberships" : [
"NumberKit"
],
"sources" : [
"BigInt.swift",
"Complex.swift",
"FloatingPointNumber.swift",
"Integer.swift",
"IntegerNumber.swift",
"NumberUtil.swift",
"Rational.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling NumberKit NumberUtil.swift
[4/10] Compiling NumberKit IntegerNumber.swift
[5/10] Compiling NumberKit Rational.swift
[6/10] Compiling NumberKit BigInt.swift
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:75:23: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:76:23: warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
| |- warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:77:23: warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
| |- warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let hex = BigInt.hexBase
79 |
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:78:23: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | fileprivate let digitSpace: [Character]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:94:21: warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
92 |
93 | /// Representing base 2 (binary)
94 | public static let binBase = Base(
| |- warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:100:21: warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
98 |
99 | /// Representing base 8 (octal)
100 | public static let octBase = Base(
| |- warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7"],
102 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:106:21: warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
104 |
105 | /// Representing base 10 (decimal)
106 | public static let decBase = Base(
| |- warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
108 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:112:21: warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
110 |
111 | /// Representing base 16 (hex)
112 | public static let hexBase = Base(
| |- warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"],
114 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9,
[7/10] Emitting module NumberKit
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:75:23: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:76:23: warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
| |- warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:77:23: warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
| |- warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let hex = BigInt.hexBase
79 |
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:78:23: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | fileprivate let digitSpace: [Character]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:94:21: warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
92 |
93 | /// Representing base 2 (binary)
94 | public static let binBase = Base(
| |- warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:100:21: warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
98 |
99 | /// Representing base 8 (octal)
100 | public static let octBase = Base(
| |- warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7"],
102 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:106:21: warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
104 |
105 | /// Representing base 10 (decimal)
106 | public static let decBase = Base(
| |- warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
108 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:112:21: warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
110 |
111 | /// Representing base 16 (hex)
112 | public static let hexBase = Base(
| |- warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"],
114 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9,
[8/10] Compiling NumberKit Complex.swift
[9/10] Compiling NumberKit Integer.swift
[10/10] Compiling NumberKit FloatingPointNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
54 | }
55 | public var sqrt: Float {
56 | return Foundation.sqrt(self)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
57 | }
58 | public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:23: error: cannot convert return expression of type 'Double' to return type 'Float'
54 | }
55 | public var sqrt: Float {
56 | return Foundation.sqrt(self)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
57 | }
58 | public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no exact matches in call to global function 'sin'
57 | }
58 | public var sin: Float {
59 | return Foundation.sin(self)
| `- error: no exact matches in call to global function 'sin'
60 | }
61 | public var cos: Float {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no 'sin' candidates produce the expected contextual result type 'Float'
57 | }
58 | public var sin: Float {
59 | return Foundation.sin(self)
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
60 | }
61 | public var cos: Float {
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no exact matches in call to global function 'cos'
60 | }
61 | public var cos: Float {
62 | return Foundation.cos(self)
| `- error: no exact matches in call to global function 'cos'
63 | }
64 | public var exp: Float {
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no 'cos' candidates produce the expected contextual result type 'Float'
60 | }
61 | public var cos: Float {
62 | return Foundation.cos(self)
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
63 | }
64 | public var exp: Float {
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no exact matches in call to global function 'exp'
63 | }
64 | public var exp: Float {
65 | return Foundation.exp(self)
| `- error: no exact matches in call to global function 'exp'
66 | }
67 | public var log: Float {
Foundation.exp:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no 'exp' candidates produce the expected contextual result type 'Float'
63 | }
64 | public var exp: Float {
65 | return Foundation.exp(self)
| `- error: no 'exp' candidates produce the expected contextual result type 'Float'
66 | }
67 | public var log: Float {
Foundation.exp:1:13: note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no exact matches in call to global function 'log'
66 | }
67 | public var log: Float {
68 | return Foundation.log(self)
| `- error: no exact matches in call to global function 'log'
69 | }
70 | public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no 'log' candidates produce the expected contextual result type 'Float'
66 | }
67 | public var log: Float {
68 | return Foundation.log(self)
| `- error: no 'log' candidates produce the expected contextual result type 'Float'
69 | }
70 | public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no exact matches in call to global function 'pow'
69 | }
70 | public func pow(_ ex: Float) -> Float {
71 | return Foundation.pow(self, ex)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
72 | }
73 | public func hypot(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no 'pow' candidates produce the expected contextual result type 'Float'
69 | }
70 | public func pow(_ ex: Float) -> Float {
71 | return Foundation.pow(self, ex)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
72 | }
73 | public func hypot(_ y: Float) -> Float {
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no exact matches in call to global function 'hypot'
72 | }
73 | public func hypot(_ y: Float) -> Float {
74 | return Foundation.hypot(self, y)
| |- error: no exact matches in call to global function 'hypot'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
75 | }
76 | public func atan2(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: candidate has partially matching parameter list (Double, Double)
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no 'hypot' candidates produce the expected contextual result type 'Float'
72 | }
73 | public func hypot(_ y: Float) -> Float {
74 | return Foundation.hypot(self, y)
| `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
75 | }
76 | public func atan2(_ y: Float) -> Float {
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no exact matches in call to global function 'atan2'
75 | }
76 | public func atan2(_ y: Float) -> Float {
77 | return Foundation.atan2(self, y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
78 | }
79 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no 'atan2' candidates produce the expected contextual result type 'Float'
75 | }
76 | public func atan2(_ y: Float) -> Float {
77 | return Foundation.atan2(self, y)
| `- error: no 'atan2' candidates produce the expected contextual result type 'Float'
78 | }
79 | }
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling NumberKit IntegerNumber.swift
[3/9] Compiling NumberKit Integer.swift
[4/9] Compiling NumberKit FloatingPointNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
54 | }
55 | public var sqrt: Float {
56 | return Foundation.sqrt(self)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
57 | }
58 | public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:23: error: cannot convert return expression of type 'Double' to return type 'Float'
54 | }
55 | public var sqrt: Float {
56 | return Foundation.sqrt(self)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
57 | }
58 | public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no exact matches in call to global function 'sin'
57 | }
58 | public var sin: Float {
59 | return Foundation.sin(self)
| `- error: no exact matches in call to global function 'sin'
60 | }
61 | public var cos: Float {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no 'sin' candidates produce the expected contextual result type 'Float'
57 | }
58 | public var sin: Float {
59 | return Foundation.sin(self)
| `- error: no 'sin' candidates produce the expected contextual result type 'Float'
60 | }
61 | public var cos: Float {
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no exact matches in call to global function 'cos'
60 | }
61 | public var cos: Float {
62 | return Foundation.cos(self)
| `- error: no exact matches in call to global function 'cos'
63 | }
64 | public var exp: Float {
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no 'cos' candidates produce the expected contextual result type 'Float'
60 | }
61 | public var cos: Float {
62 | return Foundation.cos(self)
| `- error: no 'cos' candidates produce the expected contextual result type 'Float'
63 | }
64 | public var exp: Float {
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no exact matches in call to global function 'exp'
63 | }
64 | public var exp: Float {
65 | return Foundation.exp(self)
| `- error: no exact matches in call to global function 'exp'
66 | }
67 | public var log: Float {
Foundation.exp:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no 'exp' candidates produce the expected contextual result type 'Float'
63 | }
64 | public var exp: Float {
65 | return Foundation.exp(self)
| `- error: no 'exp' candidates produce the expected contextual result type 'Float'
66 | }
67 | public var log: Float {
Foundation.exp:1:13: note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp(_ x: CGFloat) -> CGFloat
| `- note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:128:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
| `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no exact matches in call to global function 'log'
66 | }
67 | public var log: Float {
68 | return Foundation.log(self)
| `- error: no exact matches in call to global function 'log'
69 | }
70 | public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no 'log' candidates produce the expected contextual result type 'Float'
66 | }
67 | public var log: Float {
68 | return Foundation.log(self)
| `- error: no 'log' candidates produce the expected contextual result type 'Float'
69 | }
70 | public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
| `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
| `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no exact matches in call to global function 'pow'
69 | }
70 | public func pow(_ ex: Float) -> Float {
71 | return Foundation.pow(self, ex)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
72 | }
73 | public func hypot(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no 'pow' candidates produce the expected contextual result type 'Float'
69 | }
70 | public func pow(_ ex: Float) -> Float {
71 | return Foundation.pow(self, ex)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
72 | }
73 | public func hypot(_ y: Float) -> Float {
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no exact matches in call to global function 'hypot'
72 | }
73 | public func hypot(_ y: Float) -> Float {
74 | return Foundation.hypot(self, y)
| |- error: no exact matches in call to global function 'hypot'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
75 | }
76 | public func atan2(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: candidate has partially matching parameter list (Double, Double)
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no 'hypot' candidates produce the expected contextual result type 'Float'
72 | }
73 | public func hypot(_ y: Float) -> Float {
74 | return Foundation.hypot(self, y)
| `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
75 | }
76 | public func atan2(_ y: Float) -> Float {
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
| `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no exact matches in call to global function 'atan2'
75 | }
76 | public func atan2(_ y: Float) -> Float {
77 | return Foundation.atan2(self, y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
78 | }
79 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no 'atan2' candidates produce the expected contextual result type 'Float'
75 | }
76 | public func atan2(_ y: Float) -> Float {
77 | return Foundation.atan2(self, y)
| `- error: no 'atan2' candidates produce the expected contextual result type 'Float'
78 | }
79 | }
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
[5/9] Compiling NumberKit Complex.swift
[6/9] Compiling NumberKit NumberUtil.swift
[7/9] Compiling NumberKit Rational.swift
[8/9] Emitting module NumberKit
[9/9] Compiling NumberKit BigInt.swift
BUILD FAILURE 6.1 android