The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SkiaKit, reference main (bad7d4), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 07:48:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SkiaKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/migueldeicaza/SkiaKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bad7d45 Update Package.swift
Cloned https://github.com/migueldeicaza/SkiaKit.git
Revision (git rev-parse @):
bad7d455aee89bc434b254aefd1518330662e23a
SUCCESS checkout https://github.com/migueldeicaza/SkiaKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/migueldeicaza/SkiaKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying libSkiaSharp.framework
[2/4] Compiling CSkiaSharp dummy.m
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/38] Compiling SkiaKit Color.swift
[6/38] Compiling SkiaKit ColorFilter.swift
[7/38] Compiling SkiaKit ColorSpace.swift
[8/38] Compiling SkiaKit Colors.swift
[9/41] Compiling SkiaKit ImageInfo.swift
[10/41] Compiling SkiaKit MaskFilter.swift
[11/41] Compiling SkiaKit MathTypes.swift
[12/41] Compiling SkiaKit Matrix.swift
[13/41] Compiling SkiaKit FontStyle.swift
[14/41] Compiling SkiaKit FontStyleSet.swift
[15/41] Compiling SkiaKit Image.swift
[16/41] Compiling SkiaKit ImageFilter.swift
[17/41] Compiling SkiaKit Paint.swift
[18/41] Compiling SkiaKit Path.swift
[19/41] Compiling SkiaKit PathEffect.swift
[20/41] Compiling SkiaKit Picture.swift
[21/41] Compiling SkiaKit RoundRect.swift
[22/41] Compiling SkiaKit SKObject.swift
[23/41] Compiling SkiaKit SKStream.swift
[24/41] Compiling SkiaKit PictureRecorder.swift
[25/41] Compiling SkiaKit Pixmap.swift
[26/41] Compiling SkiaKit Region.swift
[27/41] Compiling SkiaKit SKString.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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/41] Compiling SkiaKit Shader.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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/41] Compiling SkiaKit Surface.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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>
[30/41] Compiling SkiaKit Data.swift
[31/41] Compiling SkiaKit Definitions.swift
[32/41] Compiling SkiaKit Font.swift
[33/41] Compiling SkiaKit FontManager.swift
[34/41] Compiling SkiaKit SkiaCanvasLayer.swift
[35/41] Compiling SkiaKit SkiaView.swift
[36/41] Compiling SkiaKit Bitmap.swift
[37/41] Compiling SkiaKit Canvas.swift
[38/41] Emitting module SkiaKit
[39/41] Compiling SkiaKit SurfaceProperties.swift
[40/41] Compiling SkiaKit TextBlob.swift
[41/41] Compiling SkiaKit Typeface.swift
Build complete! (8.03s)
Downloading binary artifact https://github.com/migueldeicaza/SkiaKit/releases/download/1.2.5/SkiaSharp.xcframework.zip
[16375/35593361] Downloading https://github.com/migueldeicaza/SkiaKit/releases/download/1.2.5/SkiaSharp.xcframework.zip
Downloaded https://github.com/migueldeicaza/SkiaKit/releases/download/1.2.5/SkiaSharp.xcframework.zip (2.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SkiaKit",
  "name" : "SkiaKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SkiaKit",
      "targets" : [
        "SkiaKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkiaKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SkiaKitTests",
      "path" : "Tests/SkiaKitTests",
      "sources" : [
        "SKCanvasTest.swift"
      ],
      "target_dependencies" : [
        "SkiaKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SkiaKit",
      "module_type" : "SwiftTarget",
      "name" : "SkiaKit",
      "path" : "Sources/SkiaKit",
      "product_memberships" : [
        "SkiaKit"
      ],
      "sources" : [
        "Apple/SkiaCanvasLayer.swift",
        "Apple/SkiaView.swift",
        "Bitmap.swift",
        "Canvas.swift",
        "Color.swift",
        "ColorFilter.swift",
        "ColorSpace.swift",
        "Colors.swift",
        "Data.swift",
        "Definitions.swift",
        "Font.swift",
        "FontManager.swift",
        "FontStyle.swift",
        "FontStyleSet.swift",
        "Image.swift",
        "ImageFilter.swift",
        "ImageInfo.swift",
        "MaskFilter.swift",
        "MathTypes.swift",
        "Matrix.swift",
        "Paint.swift",
        "Path.swift",
        "PathEffect.swift",
        "Picture.swift",
        "PictureRecorder.swift",
        "Pixmap.swift",
        "Region.swift",
        "RoundRect.swift",
        "SKObject.swift",
        "SKStream.swift",
        "SKString.swift",
        "Shader.swift",
        "Surface.swift",
        "SurfaceProperties.swift",
        "TextBlob.swift",
        "Typeface.swift"
      ],
      "target_dependencies" : [
        "CSkiaSharp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSkiaSharpBinary",
      "module_type" : "BinaryTarget",
      "name" : "CSkiaSharpBinary",
      "path" : "remote/archive/SkiaSharp.xcframework.zip",
      "product_memberships" : [
        "SkiaKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "CSkiaSharp",
      "module_type" : "ClangTarget",
      "name" : "CSkiaSharp",
      "path" : "Sources/CSkiaSharp",
      "product_memberships" : [
        "SkiaKit"
      ],
      "sources" : [
        "dummy.m"
      ],
      "target_dependencies" : [
        "CSkiaSharpBinary"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.