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 main (42875d), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 10:50:49 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shima11/SkinSmoothingFilter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 42875d6 cleanup
Cloned https://github.com/shima11/SkinSmoothingFilter.git
Revision (git rev-parse @):
42875d65aa2f0b14e6d492a7b988fde9fcc51e3f
SUCCESS checkout https://github.com/shima11/SkinSmoothingFilter.git at main
========================================
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:71: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
 69 |   }
 70 |
 71 |   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
 72 |
 73 |     let url = Bundle.module.url(
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:73:22: error: type 'Bundle' has no member 'module'
 71 |   private static var kernel: CIKernel = { () -> CIKernel in
 72 |
 73 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 74 |       forResource: "default",
 75 |       withExtension: "metallib"
[4/4] Compiling SkinSmoothingFilter SkinSmoothingFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:71: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
 69 |   }
 70 |
 71 |   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
 72 |
 73 |     let url = Bundle.module.url(
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:73:22: error: type 'Bundle' has no member 'module'
 71 |   private static var kernel: CIKernel = { () -> CIKernel in
 72 |
 73 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 74 |       forResource: "default",
 75 |       withExtension: "metallib"
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:109:28: error: type 'Bundle' has no member 'module'
107 |
108 |   private static var kernel: CIColorKernel? {
109 |     guard let url = Bundle.module.url(forResource: "default", withExtension: "metallib") else { return nil }
    |                            `- error: type 'Bundle' has no member 'module'
110 |     guard let data = try? Data(contentsOf: url) else { return nil }
111 |     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:73:22: error: type 'Bundle' has no member 'module'
 71 |   private static var kernel: CIKernel = { () -> CIKernel in
 72 |
 73 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 74 |       forResource: "default",
 75 |       withExtension: "metallib"
[3/3] Compiling SkinSmoothingFilter SkinSmoothingFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:73:22: error: type 'Bundle' has no member 'module'
 71 |   private static var kernel: CIKernel = { () -> CIKernel in
 72 |
 73 |     let url = Bundle.module.url(
    |                      `- error: type 'Bundle' has no member 'module'
 74 |       forResource: "default",
 75 |       withExtension: "metallib"
/Users/admin/builder/spi-builder-workspace/Sources/SkinSmoothingFilter/SkinSmoothingFilter.swift:109:28: error: type 'Bundle' has no member 'module'
107 |
108 |   private static var kernel: CIColorKernel? {
109 |     guard let url = Bundle.module.url(forResource: "default", withExtension: "metallib") else { return nil }
    |                            `- error: type 'Bundle' has no member 'module'
110 |     guard let data = try? Data(contentsOf: url) else { return nil }
111 |     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