Build Information
Failed to build Swim, reference master (e8e3dc), with Swift 6.2 for Android on 18 Jun 2025 16:33:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t-ae/swim.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/t-ae/swim
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e8e3dc5 Revert "Use stb* directly"
Cloned https://github.com/t-ae/swim.git
Revision (git rev-parse @):
e8e3dc5f6a6f58af40a5c341cb7fbf0d7324dc74
SUCCESS checkout https://github.com/t-ae/swim.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/t-ae/swim.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[2/4] Compiling CStbImage truetype.c
[3/4] Compiling CStbImage image_io.c
[5/91] Compiling Swim ImageUnary.swift
[6/91] Compiling Swim PixelRefAndColor.swift
[7/91] Compiling Swim PixelRefAndScalar.swift
[8/91] Compiling Swim Blender.swift
[9/91] Compiling Swim BitOperations.swift
[10/91] Compiling Swim CheckBool.swift
[11/91] Compiling Swim ChannelComposition.swift
[12/91] Compiling Swim ChannelwiseConversion.swift
[13/91] Compiling Swim CreateMask.swift
[14/91] Compiling Swim DataConversion.swift
[15/91] Compiling Swim DataTypeConversion.swift
[16/91] Compiling Swim PixelTypeConversion.swift
[17/91] Compiling Swim PixelwiseConversion.swift
[18/91] Compiling Swim Color.swift
[19/91] Compiling Swim ColorPreset.swift
[20/91] Compiling Swim ColorProtocol.swift
[21/91] Compiling Swim DataType.swift
[22/91] Compiling Swim Image.swift
[23/91] Compiling Swim ImageInitializers.swift
[24/91] Compiling Swim LikeInitializer.swift
[25/91] Compiling Swim UninitializedCreation.swift
[26/91] Compiling Swim Pixel.swift
[27/91] Compiling Swim PixelIterator.swift
[28/91] Compiling Swim UnsafePixelRef.swift
[29/91] Compiling Swim PixelType.swift
[30/103] Compiling Swim Clip.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[31/103] Compiling Swim Power.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[32/103] Compiling Swim Rounding.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[33/103] Compiling Swim AppKit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[34/103] Compiling Swim CoreGraphics.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[35/103] Compiling Swim S4TF.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[36/103] Compiling Swim UIKit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[37/103] Compiling Swim vImageAlphaBlend.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[38/103] Compiling Swim vImageBuffer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[39/103] Compiling Swim vImageMorphology.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[40/103] Compiling Swim vImageUtils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[41/103] Compiling Swim Extrema.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CStbImage/include/CStbImage.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
[42/103] Compiling Swim ChannelSubscript.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[43/103] Compiling Swim PixelSubscript.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[44/103] Compiling Swim SubimageSubscript.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[45/103] Compiling Swim Concatenation.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[46/103] Compiling Swim EdgeMode.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[47/103] Compiling Swim Flip.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[48/103] Compiling Swim AffineTransformation.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[49/103] Compiling Swim HomogeneousTransformationMatrix.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[50/103] Compiling Swim ProjectiveTransformation.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[51/103] Compiling Swim Padding.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[52/103] Compiling Swim Repeat.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[53/103] Compiling Swim Resize.swift
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/103] Emitting module Swim
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Manipulation/Power.swift:11:34: error: no exact matches in call to global function 'pow'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| |- 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)
12 | }
13 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:11:34: error: no 'pow' candidates produce the expected contextual result type 'Float'
9 | public mutating func applyPow(_ exponent: T){
10 | for i in 0..<data.count {
11 | data[i] = Foundation.pow(data[i], exponent)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float'
12 | }
13 | }
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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Power.swift:18:24: error: no exact matches in call to global function 'pow'
16 | public func pow(_ exponent: T) -> Image<P, T> {
17 | return dataConverted {
18 | Foundation.pow($0, exponent)
| |- 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)
19 | }
20 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/Swim/Manipulation/Rounding.swift:14:22: error: cannot convert value of type 'T' to expected argument type 'Double'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:14:16: error: cannot convert return expression of type 'Double' to return type 'T'
12 | return round(x) as! T
13 | } else {
14 | return round(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
15 | }
16 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:22: error: cannot convert value of type 'T' to expected argument type 'Double'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:25:16: error: cannot convert return expression of type 'Double' to return type 'T'
23 | return floor(x) as! T
24 | } else {
25 | return floor(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
26 | }
27 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:21: error: cannot convert value of type 'T' to expected argument type 'Double'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:36:16: error: cannot convert return expression of type 'Double' to return type 'T'
34 | return ceil(x) as! T
35 | } else {
36 | return ceil(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
37 | }
38 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:22: error: cannot convert value of type 'T' to expected argument type 'Double'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Manipulation/Rounding.swift:47:16: error: cannot convert return expression of type 'Double' to return type 'T'
45 | return trunc(x) as! T
46 | } else {
47 | return trunc(x)
| `- error: cannot convert return expression of type 'Double' to return type 'T'
48 | }
49 | }
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:44:54: error: cannot convert value of type 'T' to expected argument type 'Double'
42 | let endX: T = T((x+1) * self.width) / T(width)
43 |
44 | let ceilStartX = Foundation.ceil(startX)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
45 | let floorEndX = Foundation.floor(endX)
46 |
/host/spi-builder-workspace/Sources/Swim/Transformation/Resize.swift:91:54: error: cannot convert value of type 'T' to expected argument type 'Double'
89 | let endY: T = T((y+1) * self.height) / T(height)
90 |
91 | let ceilStartY = Foundation.ceil(startY)
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
92 | let floorEndY = Foundation.floor(endY)
93 |
[55/103] Compiling Swim Bayer.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[56/103] Compiling Swim FourierTransformer.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[57/103] Compiling Swim Histograms.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[58/103] Compiling Swim Im2col.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[59/103] Compiling Swim ImageCompare.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[60/103] Compiling Swim IntegralImage.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[61/103] Compiling Swim Skeletonizer.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[62/103] Compiling Swim ColorAndColor.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[63/103] Compiling Swim ColorAndScalar.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[64/103] Compiling Swim ColorUnary.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[65/103] Compiling Swim ImageAndColor.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[66/103] Compiling Swim ImageAndImage.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[67/103] Compiling Swim ImageAndScalar.swift
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:45: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:83:36: error: cannot convert value of type 'T' to expected argument type 'Double'
81 | }
82 |
83 | let numerator = sqrt(sum2a * sum2b) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
84 |
85 | return sumCross / numerator
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:59: error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| |- error: binary operator '+' cannot be applied to operands of type 'Double' and 'T'
| `- note: overloads for '+' exist with these partially matching parameter lists: (Double, Double)
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
/host/spi-builder-workspace/Sources/Swim/Advance/ImageCompare.swift:131:44: error: cannot convert value of type 'T' to expected argument type 'Double'
129 | let denominatorB: T = c*sum2b - sumb2
130 |
131 | let denominator = sqrt(denominatorA*denominatorB) + epsilon
| `- error: cannot convert value of type 'T' to expected argument type 'Double'
132 |
133 | return clamp(numerator / denominator, min: -1, max: 1)
[68/103] Compiling Swim Rotate.swift
[69/103] Compiling Swim Shift.swift
[70/103] Compiling Swim Transpose.swift
[71/103] Compiling Swim Warp.swift
[72/103] Compiling Swim Clamp.swift
[73/103] Compiling Swim Complex.swift
[74/103] Compiling Swim ConvertUInt8FP.swift
[75/103] Compiling Swim Copy.swift
[76/103] Compiling Swim Interleave.swift
[77/103] Compiling Swim IsPOT.swift
[78/103] Compiling Swim Matrix.swift
[79/103] Compiling Swim Rect.swift
[80/103] Compiling Swim ReadImageData.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[81/103] Compiling Swim ReadImageFile.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[82/103] Compiling Swim STBImageData.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[83/103] Compiling Swim WriteImageData.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[84/103] Compiling Swim WriteImageFile.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[85/103] Compiling Swim BicubicInterpolator.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[86/103] Compiling Swim BilinearInterpolator.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[87/103] Compiling Swim Interpolator.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[88/103] Compiling Swim Interpolator4x4.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[89/103] Compiling Swim LanczosInterpolator.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[90/103] Compiling Swim NearestNeighborInterpolator.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[91/103] Compiling Swim Abs.swift
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:14:47: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
12 |
13 | let code = image.data.withUnsafeBufferPointer {
14 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
15 | }
16 |
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:36:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
34 | case .bitmap:
35 | code = image.data.withUnsafeBufferPointer {
36 | write_image_bmp_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
37 | }
38 | case let .jpeg(quality):
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:43:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
41 | }
42 | code = image.data.withUnsafeBufferPointer {
43 | write_image_jpg_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!, Int32(quality))
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
44 | }
45 | case .png:
/host/spi-builder-workspace/Sources/Swim/IO/WriteImageData.swift:47:51: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
45 | case .png:
46 | code = image.data.withUnsafeBufferPointer {
47 | write_image_png_to_func(storeContent, &content, width, height, bpp, $0.baseAddress!)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
48 | }
49 | }
[92/103] Compiling Swim DrawCircle.swift
[93/103] Compiling Swim DrawImage.swift
[94/103] Compiling Swim DrawLine.swift
[95/103] Compiling Swim DrawPixel.swift
[96/103] Compiling Swim DrawPolygon.swift
[97/103] Compiling Swim DrawRect.swift
[98/103] Compiling Swim DrawText.swift
[99/103] Compiling Swim BilateralFilter.swift
[100/103] Compiling Swim Convolution.swift
[101/103] Compiling Swim NonLocalMeanFilter.swift
[102/103] Compiling Swim RankFilter.swift
[103/103] Compiling Swim IOError.swift
BUILD FAILURE 6.2 android