The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SkinSmoothingFilter, reference 1.0.0 (38d1bc), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 10:51:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shima11/SkinSmoothingFilter.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shima11/SkinSmoothingFilter
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 38d1bc4 update
Cloned https://github.com/shima11/SkinSmoothingFilter.git
Revision (git rev-parse @):
38d1bc46c8ecac4f562e9c3366c5ee5b6e085321
SUCCESS checkout https://github.com/shima11/SkinSmoothingFilter.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shima11/SkinSmoothingFilter.git
https://github.com/shima11/SkinSmoothingFilter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SkinSmoothingFilter",
  "name" : "SkinSmoothingFilter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SkinSmoothingFilter",
      "targets" : [
        "SkinSmoothingFilter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkinSmoothingFilterTests",
      "module_type" : "SwiftTarget",
      "name" : "SkinSmoothingFilterTests",
      "path" : "Tests/SkinSmoothingFilterTests",
      "sources" : [
        "SkinSmoothingFilterTests.swift"
      ],
      "target_dependencies" : [
        "SkinSmoothingFilter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SkinSmoothingFilter",
      "module_type" : "SwiftTarget",
      "name" : "SkinSmoothingFilter",
      "path" : "Sources/SkinSmoothingFilter",
      "product_memberships" : [
        "SkinSmoothingFilter"
      ],
      "sources" : [
        "SkinSmoothingFilter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SkinSmoothingFilter
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:73:22: warning: static property 'kernel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |   }
 72 |
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
    |                      |- warning: static property 'kernel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'kernel' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'kernel' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     let url = Bundle.module.url(
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:75:22: error: type 'Bundle' has no member 'module'
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
 74 |
 75 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 76 |       forResource: "default",
 77 |       withExtension: "metallib"
[4/4] Compiling SkinSmoothingFilter SkinSmoothingFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:73:22: warning: static property 'kernel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |   }
 72 |
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
    |                      |- warning: static property 'kernel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'kernel' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'kernel' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     let url = Bundle.module.url(
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:75:22: error: type 'Bundle' has no member 'module'
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
 74 |
 75 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 76 |       forResource: "default",
 77 |       withExtension: "metallib"
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:111:28: error: type 'Bundle' has no member 'module'
109 |
110 |   private static var kernel: CIColorKernel? {
111 |     guard let url = Bundle.module.url(forResource: "default", withExtension: "metallib") else { return nil }
    |                            `- error: type 'Bundle' has no member 'module'
112 |     guard let data = try? Data(contentsOf: url) else { return nil }
113 |     return try? CIColorKernel(functionName: "highpass", fromMetalLibraryData: data)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/Shaders.metal
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SkinSmoothingFilter
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:75:22: error: type 'Bundle' has no member 'module'
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
 74 |
 75 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 76 |       forResource: "default",
 77 |       withExtension: "metallib"
[3/3] Compiling SkinSmoothingFilter SkinSmoothingFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:75:22: error: type 'Bundle' has no member 'module'
 73 |   private static var kernel: CIKernel = { () -> CIKernel in
 74 |
 75 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 76 |       forResource: "default",
 77 |       withExtension: "metallib"
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:111:28: error: type 'Bundle' has no member 'module'
109 |
110 |   private static var kernel: CIColorKernel? {
111 |     guard let url = Bundle.module.url(forResource: "default", withExtension: "metallib") else { return nil }
    |                            `- error: type 'Bundle' has no member 'module'
112 |     guard let data = try? Data(contentsOf: url) else { return nil }
113 |     return try? CIColorKernel(functionName: "highpass", fromMetalLibraryData: data)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/Shaders.metal
BUILD FAILURE 6.1 macosSpm