The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SkiaKit, reference 0.0.1 (533cd1), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 17:06:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnGast/SkiaKit.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/UnGast/SkiaKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 125]
[Planning deferred tasks]
[28 / 46]
[31 / 47] CSkia
[31 / 47] SkiaKit
[41 / 93]
[46 / 93]
[50 / 93]
[51 / 93]
[55 / 93]
[57 / 93]
[60 / 93]
[63 / 93]
[65 / 93]
[66 / 93]
[77 / 93] SkiaKit
[78 / 93] SkiaKit
[86 / 94]
[88 / 97] Samples-product
[89 / 97] Samples-product
[90 / 97] Samples-product
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
  |         `- note: in file included from <module-includes>:1:
2 |
1 warning generated.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Samples/Gallery/main.swift:17:8: warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Samples/Gallery/main.swift:17:8: warning: result of call to 'encode(dest:src:encoder:quality:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:102:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
103 |         }
104 |
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:134:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
135 |         }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:167:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
168 |         }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:201:19: warning: initialization of 'UnsafePointer<sk_matrix_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
202 |         }
203 |
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:233:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
234 |         }
235 |         return Shader (handle: sk_shader_new_perlin_noise_fractal_noise(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Shader.swift:251:19: warning: initialization of 'UnsafePointer<sk_isize_t>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
252 |         }
253 |         return Shader (handle: sk_shader_new_perlin_noise_turbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, ptr))
/Users/admin/builder/spi-builder-workspace/Sources/SkiaKit/Surface.swift:107:13: warning: variable 'nativeCInfo' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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))
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
ld: library 'skia' not found
/Users/admin/builder/spi-builder-workspace/Package.swift: Samples-product: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Ld /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/Samples normal failed with a nonzero exit code. Command line:     cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -Xlinker -reproducible -target arm64-apple-macos12.0 -emit-executable -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -Xlinker -no_warn_duplicate_libraries -L/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug -L/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Fsystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SkiaKit.build/Debug/Samples-p.build/Objects-normal/arm64/Samples.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @loader_path -Xlinker -rpath -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -Xlinker -rpath -Xlinker /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.9bJMpr/Metal.xctoolchain/usr/lib/swift-6.2/macosx -Xlinker -rpath -Xlinker /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-6.2/macosx -Xlinker -dead_strip -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SkiaKit.build/Debug/Samples-p.build/Objects-normal/arm64/Samples_lto.o -Xclang-linker -rdynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SkiaKit.build/Debug/Samples-p.build/Objects-normal/arm64/Samples_dependency_info.dat -link-objc-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SkiaKit.build/Debug/Samples-p.build/Objects-normal/arm64/Samples.swiftmodule -lc++ -lskia -lfreetype -lfontconfig -lz -lc++ -Xlinker -no_adhoc_codesign -o /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/Samples -no-stdlib-rpath
error: Build failed
BUILD FAILURE 6.4 macosSpm