Build Information
Failed to build SkiaKit, reference 0.0.1 (533cd1), with Swift 6.2 for Android on 20 Jun 2025 14:04:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnGast/SkiaKit.git
Reference: 0.0.1
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/SkiaKit
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 533cd14 Create release.yml
Cloned https://github.com/UnGast/SkiaKit.git
Revision (git rev-parse @):
533cd148843b2a540579bd499c0c03706c8b63e9
SUCCESS checkout https://github.com/UnGast/SkiaKit.git at 0.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/UnGast/SkiaKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/8] Write sources
[2/8] Compiling CSkia CSkia.cpp
[3/8] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/43] Emitting module SkiaKit
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:101:66: error: cannot find type 'ushort' in scope
99 | /// - Parameter y: The y position for this run
100 | /// - Parameter glyphs: The glyphs to use for this run
101 | public func addRun (font: Font, x: Float, y: Float, glyphs: [ushort])
| `- error: cannot find type 'ushort' in scope
102 | {
103 | let run = allocateRun(font: font, count: Int32 (glyphs.count), x: x, y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:111:66: error: cannot find type 'ushort' in scope
109 | /// - Parameter y: The vertical offset within the blob.
110 | /// - Parameter glyphs: The glyphs to use for this run
111 | public func addHorizontalRun (font: Font, y: Float, glyphs: [ushort], positions: [Float])
| `- error: cannot find type 'ushort' in scope
112 | {
113 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:122:66: error: cannot find type 'ushort' in scope
120 | /// - Parameter y: The vertical offset within the blob.
121 | /// - Parameter glyphs: The glyphs to use for this run
122 | public func addPositionedRun (font: Font, y: Float, glyphs: [ushort], positions: [Point])
| `- error: cannot find type 'ushort' in scope
123 | {
124 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
[6/47] Compiling SkiaKit Surface.swift
/host/spi-builder-workspace/Sources/SkiaKit/Surface.swift:107:13: warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
105 | public static func makeRenderTarget(context: GrContext, budgeted: Bool, cinfo: ImageInfo) -> Surface {
106 | //return ToSurface(SkSurface::MakeRenderTarget(AsGrContext(context), (SkBudgeted)budgeted, AsImageInfo(cinfo), sampleCount, (GrSurfaceOrigin)origin, AsSurfaceProps(props), shouldCreateWithMips).release());
107 | var nativeCInfo = cinfo.toNative()
| `- warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
108 | return withUnsafePointer(to: nativeCInfo) {
109 | Surface(handle: sk_surface_new_render_target(context.handle, budgeted, $0, 0, TOP_LEFT_GR_SURFACE_ORIGIN, nil, false))
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:101:66: error: cannot find type 'ushort' in scope
99 | /// - Parameter y: The y position for this run
100 | /// - Parameter glyphs: The glyphs to use for this run
101 | public func addRun (font: Font, x: Float, y: Float, glyphs: [ushort])
| `- error: cannot find type 'ushort' in scope
102 | {
103 | let run = allocateRun(font: font, count: Int32 (glyphs.count), x: x, y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:111:66: error: cannot find type 'ushort' in scope
109 | /// - Parameter y: The vertical offset within the blob.
110 | /// - Parameter glyphs: The glyphs to use for this run
111 | public func addHorizontalRun (font: Font, y: Float, glyphs: [ushort], positions: [Float])
| `- error: cannot find type 'ushort' in scope
112 | {
113 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:122:66: error: cannot find type 'ushort' in scope
120 | /// - Parameter y: The vertical offset within the blob.
121 | /// - Parameter glyphs: The glyphs to use for this run
122 | public func addPositionedRun (font: Font, y: Float, glyphs: [ushort], positions: [Point])
| `- error: cannot find type 'ushort' in scope
123 | {
124 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
[7/47] Compiling SkiaKit SurfaceProperties.swift
/host/spi-builder-workspace/Sources/SkiaKit/Surface.swift:107:13: warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
105 | public static func makeRenderTarget(context: GrContext, budgeted: Bool, cinfo: ImageInfo) -> Surface {
106 | //return ToSurface(SkSurface::MakeRenderTarget(AsGrContext(context), (SkBudgeted)budgeted, AsImageInfo(cinfo), sampleCount, (GrSurfaceOrigin)origin, AsSurfaceProps(props), shouldCreateWithMips).release());
107 | var nativeCInfo = cinfo.toNative()
| `- warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
108 | return withUnsafePointer(to: nativeCInfo) {
109 | Surface(handle: sk_surface_new_render_target(context.handle, budgeted, $0, 0, TOP_LEFT_GR_SURFACE_ORIGIN, nil, false))
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:101:66: error: cannot find type 'ushort' in scope
99 | /// - Parameter y: The y position for this run
100 | /// - Parameter glyphs: The glyphs to use for this run
101 | public func addRun (font: Font, x: Float, y: Float, glyphs: [ushort])
| `- error: cannot find type 'ushort' in scope
102 | {
103 | let run = allocateRun(font: font, count: Int32 (glyphs.count), x: x, y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:111:66: error: cannot find type 'ushort' in scope
109 | /// - Parameter y: The vertical offset within the blob.
110 | /// - Parameter glyphs: The glyphs to use for this run
111 | public func addHorizontalRun (font: Font, y: Float, glyphs: [ushort], positions: [Float])
| `- error: cannot find type 'ushort' in scope
112 | {
113 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:122:66: error: cannot find type 'ushort' in scope
120 | /// - Parameter y: The vertical offset within the blob.
121 | /// - Parameter glyphs: The glyphs to use for this run
122 | public func addPositionedRun (font: Font, y: Float, glyphs: [ushort], positions: [Point])
| `- error: cannot find type 'ushort' in scope
123 | {
124 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
[8/47] Compiling SkiaKit TextBlob.swift
/host/spi-builder-workspace/Sources/SkiaKit/Surface.swift:107:13: warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
105 | public static func makeRenderTarget(context: GrContext, budgeted: Bool, cinfo: ImageInfo) -> Surface {
106 | //return ToSurface(SkSurface::MakeRenderTarget(AsGrContext(context), (SkBudgeted)budgeted, AsImageInfo(cinfo), sampleCount, (GrSurfaceOrigin)origin, AsSurfaceProps(props), shouldCreateWithMips).release());
107 | var nativeCInfo = cinfo.toNative()
| `- warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
108 | return withUnsafePointer(to: nativeCInfo) {
109 | Surface(handle: sk_surface_new_render_target(context.handle, budgeted, $0, 0, TOP_LEFT_GR_SURFACE_ORIGIN, nil, false))
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:101:66: error: cannot find type 'ushort' in scope
99 | /// - Parameter y: The y position for this run
100 | /// - Parameter glyphs: The glyphs to use for this run
101 | public func addRun (font: Font, x: Float, y: Float, glyphs: [ushort])
| `- error: cannot find type 'ushort' in scope
102 | {
103 | let run = allocateRun(font: font, count: Int32 (glyphs.count), x: x, y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:111:66: error: cannot find type 'ushort' in scope
109 | /// - Parameter y: The vertical offset within the blob.
110 | /// - Parameter glyphs: The glyphs to use for this run
111 | public func addHorizontalRun (font: Font, y: Float, glyphs: [ushort], positions: [Float])
| `- error: cannot find type 'ushort' in scope
112 | {
113 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:122:66: error: cannot find type 'ushort' in scope
120 | /// - Parameter y: The vertical offset within the blob.
121 | /// - Parameter glyphs: The glyphs to use for this run
122 | public func addPositionedRun (font: Font, y: Float, glyphs: [ushort], positions: [Point])
| `- error: cannot find type 'ushort' in scope
123 | {
124 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
[9/47] Compiling SkiaKit Typeface.swift
/host/spi-builder-workspace/Sources/SkiaKit/Surface.swift:107:13: warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
105 | public static func makeRenderTarget(context: GrContext, budgeted: Bool, cinfo: ImageInfo) -> Surface {
106 | //return ToSurface(SkSurface::MakeRenderTarget(AsGrContext(context), (SkBudgeted)budgeted, AsImageInfo(cinfo), sampleCount, (GrSurfaceOrigin)origin, AsSurfaceProps(props), shouldCreateWithMips).release());
107 | var nativeCInfo = cinfo.toNative()
| `- warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant
108 | return withUnsafePointer(to: nativeCInfo) {
109 | Surface(handle: sk_surface_new_render_target(context.handle, budgeted, $0, 0, TOP_LEFT_GR_SURFACE_ORIGIN, nil, false))
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:101:66: error: cannot find type 'ushort' in scope
99 | /// - Parameter y: The y position for this run
100 | /// - Parameter glyphs: The glyphs to use for this run
101 | public func addRun (font: Font, x: Float, y: Float, glyphs: [ushort])
| `- error: cannot find type 'ushort' in scope
102 | {
103 | let run = allocateRun(font: font, count: Int32 (glyphs.count), x: x, y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:111:66: error: cannot find type 'ushort' in scope
109 | /// - Parameter y: The vertical offset within the blob.
110 | /// - Parameter glyphs: The glyphs to use for this run
111 | public func addHorizontalRun (font: Font, y: Float, glyphs: [ushort], positions: [Float])
| `- error: cannot find type 'ushort' in scope
112 | {
113 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
/host/spi-builder-workspace/Sources/SkiaKit/TextBlob.swift:122:66: error: cannot find type 'ushort' in scope
120 | /// - Parameter y: The vertical offset within the blob.
121 | /// - Parameter glyphs: The glyphs to use for this run
122 | public func addPositionedRun (font: Font, y: Float, glyphs: [ushort], positions: [Point])
| `- error: cannot find type 'ushort' in scope
123 | {
124 | let run = allocateHorizontalRun(font: font, count: Int32 (glyphs.count), y: y)
[10/47] Compiling SkiaKit Bitmap.swift
[11/47] Compiling SkiaKit Canvas.swift
[12/47] Compiling SkiaKit Color.swift
[13/47] Compiling SkiaKit ColorFilter.swift
[14/47] Compiling SkiaKit ColorSpace.swift
[15/47] Compiling SkiaKit GrGLFramebufferInfo.swift
[16/47] Compiling SkiaKit Image.swift
[17/47] Compiling SkiaKit ImageFilter.swift
[18/47] Compiling SkiaKit ImageInfo.swift
[19/47] Compiling SkiaKit MaskFilter.swift
[20/47] Compiling SkiaKit FontStyle.swift
[21/47] Compiling SkiaKit FontStyleSet.swift
[22/47] Compiling SkiaKit GLInterface.swift
[23/47] Compiling SkiaKit GrBackendRenderTarget.swift
[24/47] Compiling SkiaKit GrContext.swift
[25/47] Compiling SkiaKit SKObject.swift
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:102:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
100 | if let l = localMatrix {
101 | native = l.toNative()
102 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
103 | }
104 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:134:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
132 | if let l = localMatrix {
133 | native = l.toNative()
134 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
135 | }
136 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:167:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
165 | if let l = localMatrix {
166 | native = l.toNative()
167 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
168 | }
169 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:201:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
199 | if let l = localMatrix {
200 | native = l.toNative()
201 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
202 | }
203 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:233:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
231 | if let t = tileSize {
232 | n = t
233 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
234 | }
235 | return Shader (handle: sk_shader_new_perlin_noise_fractal_noise(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:251:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
249 | if let t = tileSize {
250 | n = t
251 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
252 | }
253 | return Shader (handle: sk_shader_new_perlin_noise_turbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[26/47] Compiling SkiaKit SKStream.swift
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:102:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
100 | if let l = localMatrix {
101 | native = l.toNative()
102 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
103 | }
104 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:134:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
132 | if let l = localMatrix {
133 | native = l.toNative()
134 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
135 | }
136 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:167:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
165 | if let l = localMatrix {
166 | native = l.toNative()
167 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
168 | }
169 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:201:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
199 | if let l = localMatrix {
200 | native = l.toNative()
201 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
202 | }
203 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:233:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
231 | if let t = tileSize {
232 | n = t
233 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
234 | }
235 | return Shader (handle: sk_shader_new_perlin_noise_fractal_noise(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:251:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
249 | if let t = tileSize {
250 | n = t
251 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
252 | }
253 | return Shader (handle: sk_shader_new_perlin_noise_turbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[27/47] Compiling SkiaKit SKString.swift
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:102:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
100 | if let l = localMatrix {
101 | native = l.toNative()
102 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
103 | }
104 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:134:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
132 | if let l = localMatrix {
133 | native = l.toNative()
134 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
135 | }
136 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:167:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
165 | if let l = localMatrix {
166 | native = l.toNative()
167 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
168 | }
169 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:201:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
199 | if let l = localMatrix {
200 | native = l.toNative()
201 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
202 | }
203 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:233:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
231 | if let t = tileSize {
232 | n = t
233 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
234 | }
235 | return Shader (handle: sk_shader_new_perlin_noise_fractal_noise(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:251:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
249 | if let t = tileSize {
250 | n = t
251 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
252 | }
253 | return Shader (handle: sk_shader_new_perlin_noise_turbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[28/47] Compiling SkiaKit Shader.swift
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:102:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
100 | if let l = localMatrix {
101 | native = l.toNative()
102 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
103 | }
104 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:134:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
132 | if let l = localMatrix {
133 | native = l.toNative()
134 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
135 | }
136 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:167:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
165 | if let l = localMatrix {
166 | native = l.toNative()
167 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
168 | }
169 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:201:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
199 | if let l = localMatrix {
200 | native = l.toNative()
201 | ptr = UnsafePointer<sk_matrix_t> (&native)
| | |- note: implicit argument conversion from 'sk_matrix_t' to 'UnsafePointer<sk_matrix_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#TemporaryPointers]
202 | }
203 |
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:233:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
231 | if let t = tileSize {
232 | n = t
233 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
234 | }
235 | return Shader (handle: sk_shader_new_perlin_noise_fractal_noise(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/host/spi-builder-workspace/Sources/SkiaKit/Shader.swift:251:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
249 | if let t = tileSize {
250 | n = t
251 | ptr = UnsafePointer<sk_isize_t>(&n)
| | |- note: implicit argument conversion from 'sk_isize_t' to 'UnsafePointer<sk_isize_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#TemporaryPointers]
252 | }
253 | return Shader (handle: sk_shader_new_perlin_noise_turbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[29/47] Compiling SkiaKit MathTypes.swift
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:88: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:90: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
[30/47] Compiling SkiaKit Matrix.swift
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:88: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:90: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
[31/47] Compiling SkiaKit Paint.swift
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:88: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:90: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
[32/47] Compiling SkiaKit Path.swift
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:88: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:90: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
[33/47] Compiling SkiaKit PathEffect.swift
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:150:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
148 | var x, y, r, b : Int32
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:151:87: error: cannot convert value of type 'Float' to expected argument type 'Double'
149 |
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:59: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:152:88: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | x = Int32 ((outwards && value.width > 0) ? floor (Float (value.left)) : ceil (Float (value.left)));
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
154 |
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:60: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
/host/spi-builder-workspace/Sources/SkiaKit/MathTypes.swift:153:90: error: cannot convert value of type 'Float' to expected argument type 'Double'
151 | y = Int32 ((outwards && value.height > 0) ? floor (Float (value.top)) : ceil (Float (value.top)));
152 | r = Int32 ((outwards && value.width < 0) ? floor (Float (value.right)) : ceil (Float (value.right)));
153 | b = Int32 ((outwards && value.height < 0) ? floor (Float (value.bottom)) : ceil (Float (value.bottom)));
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
154 |
155 | return IRect (left: x, top: y, right: r, bottom: b)
[34/47] Compiling SkiaKit Picture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[35/47] Compiling SkiaKit PictureRecorder.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[36/47] Compiling SkiaKit Pixmap.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[37/47] Compiling SkiaKit Region.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[38/47] Compiling SkiaKit RoundRect.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[39/47] Compiling SkiaKit Colors.swift
[40/47] Compiling SkiaKit Data.swift
[41/47] Compiling SkiaKit Definitions.swift
[42/47] Compiling SkiaKit Font.swift
[43/47] Compiling SkiaKit FontManager.swift
BUILD FAILURE 6.2 android