Build Information
Failed to build SkinSmoothingFilter, reference main (42875d
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 00:09:19 UTC.
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/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.2
Building package at path: $PWD
https://github.com/shima11/SkinSmoothingFilter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.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: 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: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.2 macosSpm