The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SkiaKit, reference 0.0.1 (533cd1), with Swift 6.3 for Wasm on 13 Apr 2026 22:33:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/UnGast/SkiaKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/8] Write sources
[2/8] Compiling CSkia CSkia.cpp
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/43] Emitting module SkiaKit
<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 |
/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h:47:1: warning: umbrella header for module 'CSkia' does not include header 'sk_types_priv.h'
45 |
46 | #endif /* SkiaKit_h */
47 |
   | `- warning: umbrella header for module 'CSkia' does not include header 'sk_types_priv.h'
[6/47] Compiling SkiaKit Picture.swift
[7/47] Compiling SkiaKit PictureRecorder.swift
[8/47] Compiling SkiaKit Pixmap.swift
[9/47] Compiling SkiaKit Region.swift
[10/47] Compiling SkiaKit RoundRect.swift
[11/47] Compiling SkiaKit MathTypes.swift
[12/47] Compiling SkiaKit Matrix.swift
[13/47] Compiling SkiaKit Paint.swift
[14/47] Compiling SkiaKit Path.swift
[15/47] Compiling SkiaKit PathEffect.swift
[16/47] Compiling SkiaKit GrGLFramebufferInfo.swift
[17/47] Compiling SkiaKit Image.swift
[18/47] Compiling SkiaKit ImageFilter.swift
[19/47] Compiling SkiaKit ImageInfo.swift
[20/47] Compiling SkiaKit MaskFilter.swift
[21/47] Compiling SkiaKit Colors.swift
[22/47] Compiling SkiaKit Data.swift
[23/47] Compiling SkiaKit Definitions.swift
[24/47] Compiling SkiaKit Font.swift
[25/47] Compiling SkiaKit FontManager.swift
[26/47] Compiling SkiaKit FontStyle.swift
[27/47] Compiling SkiaKit FontStyleSet.swift
[28/47] Compiling SkiaKit GLInterface.swift
[29/47] Compiling SkiaKit GrBackendRenderTarget.swift
[30/47] Compiling SkiaKit GrContext.swift
[31/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))
[32/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))
[33/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))
[34/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))
[35/47] Compiling SkiaKit Bitmap.swift
[36/47] Compiling SkiaKit Canvas.swift
[37/47] Compiling SkiaKit Color.swift
[38/47] Compiling SkiaKit ColorFilter.swift
[39/47] Compiling SkiaKit ColorSpace.swift
[40/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>
[41/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>
[42/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>
[43/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>
[44/48] Wrapping AST for SkiaKit for debugging
[46/51] Emitting module Samples
/host/spi-builder-workspace/Samples/Gallery/main.swift:17:8: warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#no-usage]
15 | let stream = SKFileWStream(path: "test.png")!
16 |
17 | Pixmap.encode(dest: stream, src: bitmap, encoder: .png, quality: 100)
   |        `- warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#no-usage]
[47/51] Compiling Samples 2DPathSample.swift
[48/51] Compiling Samples main.swift
/host/spi-builder-workspace/Samples/Gallery/main.swift:17:8: warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#no-usage]
15 | let stream = SKFileWStream(path: "test.png")!
16 |
17 | Pixmap.encode(dest: stream, src: bitmap, encoder: .png, quality: 100)
   |        `- warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#no-usage]
[49/52] Wrapping AST for Samples for debugging
[50/52] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: unable to find library -lskia
wasm-ld: error: unable to find library -lfreetype
wasm-ld: error: unable to find library -lfontconfig
wasm-ld: error: unable to find library -lz
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[51/52] Linking Samples.wasm
BUILD FAILURE 6.3 wasm