Build Information
Failed to build Swim, reference master (571022), with Swift 6.3 for Android on 14 Apr 2026 03:45:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnGast/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/UnGast/swim
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 571022a Merge branch 't-ae:master' into master
Cloned https://github.com/UnGast/swim.git
Revision (git rev-parse @):
571022a62b9da8b63d2742f8dc54b8a83e0097dd
SUCCESS checkout https://github.com/UnGast/swim.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/UnGast/swim.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/4] Write sources
[1/4] Compiling CStbImage truetype.c
[2/4] Compiling CStbImage image_io.c
[3/4] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/91] Emitting module Swim
<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/CStbImage/include/CStbImage.h:46:1: warning: umbrella header for module 'CStbImage' does not include header 'stb_image_write.h'
44 |
45 | #endif
46 |
| `- warning: umbrella header for module 'CStbImage' does not include header 'stb_image_write.h'
<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/CStbImage/include/CStbImage.h:46:1: warning: umbrella header for module 'CStbImage' does not include header 'stb_image.h'
44 |
45 | #endif
46 |
| `- warning: umbrella header for module 'CStbImage' does not include header 'stb_image.h'
/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/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/103] Compiling Swim ImageUnary.swift
[7/103] Compiling Swim PixelRefAndColor.swift
[8/103] Compiling Swim PixelRefAndScalar.swift
[9/103] Compiling Swim Blender.swift
[10/103] Compiling Swim BitOperations.swift
[11/103] Compiling Swim CheckBool.swift
[12/103] Compiling Swim ChannelComposition.swift
[13/103] Compiling Swim ChannelwiseConversion.swift
[14/103] Compiling Swim CreateMask.swift
[15/103] Compiling Swim DataConversion.swift
[16/103] Compiling Swim DataTypeConversion.swift
[17/103] Compiling Swim PixelTypeConversion.swift
[18/103] Compiling Swim PixelwiseConversion.swift
[19/103] Compiling Swim Color.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[20/103] Compiling Swim ColorPreset.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[21/103] Compiling Swim ColorProtocol.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[22/103] Compiling Swim DataType.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[23/103] Compiling Swim Image.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[24/103] Compiling Swim ImageInitializers.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[25/103] Compiling Swim LikeInitializer.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[26/103] Compiling Swim UninitializedCreation.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[27/103] Compiling Swim Pixel.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[28/103] Compiling Swim PixelIterator.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[29/103] Compiling Swim UnsafePixelRef.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[30/103] Compiling Swim PixelType.swift
/host/spi-builder-workspace/Sources/Swim/Core/Color/Color.swift:19:13: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
17 | self.data = data
18 | self.dataPointer = UnsafeRawBufferPointer(
19 | UnsafeBufferPointer(start: &self.data[0], count: data.count)
| | |- note: implicit argument conversion from 'T' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
20 | )
21 | }
/host/spi-builder-workspace/Sources/Swim/Core/Pixel/UnsafePixelRef.swift:82:13: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
80 | let rawPointer = UnsafeMutableRawBufferPointer(pointer)
81 | rawPointer.copyMemory(from: UnsafeRawBufferPointer(
82 | UnsafeBufferPointer(start: &colorData[0], count: P.channels)
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
83 | ))
84 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[31/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 |
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
[43/103] Compiling Swim Clip.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[44/103] Compiling Swim Power.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[45/103] Compiling Swim Rounding.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[46/103] Compiling Swim AppKit.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[47/103] Compiling Swim CoreGraphics.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[48/103] Compiling Swim S4TF.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[49/103] Compiling Swim UIKit.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[50/103] Compiling Swim vImageAlphaBlend.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[51/103] Compiling Swim vImageBuffer.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[52/103] Compiling Swim vImageMorphology.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[53/103] Compiling Swim vImageUtils.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[54/103] Compiling Swim Extrema.swift
/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.3-RELEASE_android.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'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | 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.3-RELEASE_android.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.3-RELEASE_android.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 | }
[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 DrawCircle.swift
[81/103] Compiling Swim DrawImage.swift
[82/103] Compiling Swim DrawLine.swift
[83/103] Compiling Swim DrawPixel.swift
[84/103] Compiling Swim DrawPolygon.swift
[85/103] Compiling Swim DrawRect.swift
[86/103] Compiling Swim DrawText.swift
[87/103] Compiling Swim BilateralFilter.swift
[88/103] Compiling Swim Convolution.swift
[89/103] Compiling Swim NonLocalMeanFilter.swift
[90/103] Compiling Swim RankFilter.swift
[91/103] Compiling Swim IOError.swift
[92/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 | }
[93/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 | }
[94/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 | }
[95/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 | }
[96/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 | }
[97/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 | }
[98/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 | }
[99/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 | }
[100/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 | }
[101/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 | }
[102/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 | }
[103/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 | }
BUILD FAILURE 6.3 android