Build Information
Failed to build Glur with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joogps/Glur.git
Reference: 1.0.4
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/joogps/Glur
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at 9e00ff7 Update README.md
Cloned https://github.com/joogps/Glur.git
Revision (git rev-parse @):
9e00ff79da318f2c78b749b1027e54a9d4de2e33
SUCCESS checkout https://github.com/joogps/Glur.git at 1.0.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/joogps/Glur.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/5] Compiling Glur Glur.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
[2/5] Compiling Glur GlurModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:22:37: error: cannot infer contextual base in reference to member 'float'
var shader = library.blurX(.float(radius),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:23:37: error: cannot infer contextual base in reference to member 'float'
.float(offset),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:24:37: error: cannot infer contextual base in reference to member 'float'
.float(interpolation),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:25:37: error: cannot infer contextual base in reference to member 'float'
.float(Float(direction.rawValue)),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:26:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:32:37: error: cannot infer contextual base in reference to member 'float'
var shader = library.blurY(.float(radius),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:33:37: error: cannot infer contextual base in reference to member 'float'
.float(offset),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:34:37: error: cannot infer contextual base in reference to member 'float'
.float(interpolation),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:35:37: error: cannot infer contextual base in reference to member 'float'
.float(Float(direction.rawValue)),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:36:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling Glur BlurDirection.swift
[4/5] Compiling Glur CompatibilityModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/CompatibilityModifier.swift:29:14: warning: variable 'startPoint' was never mutated; consider changing to 'let' constant
var (startPoint, endPoint) = direction.unitPoints
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/CompatibilityModifier.swift:29:26: warning: variable 'endPoint' was never mutated; consider changing to 'let' constant
var (startPoint, endPoint) = direction.unitPoints
^
[5/5] Emitting module Glur
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/blur.metal
[0/1] Planning build
Building for debugging...
[1/3] Compiling Glur Glur.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Glur
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
[3/3] Compiling Glur GlurModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:22:37: error: cannot infer contextual base in reference to member 'float'
var shader = library.blurX(.float(radius),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:23:37: error: cannot infer contextual base in reference to member 'float'
.float(offset),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:24:37: error: cannot infer contextual base in reference to member 'float'
.float(interpolation),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:25:37: error: cannot infer contextual base in reference to member 'float'
.float(Float(direction.rawValue)),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:26:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:32:37: error: cannot infer contextual base in reference to member 'float'
var shader = library.blurY(.float(radius),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:33:37: error: cannot infer contextual base in reference to member 'float'
.float(offset),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:34:37: error: cannot infer contextual base in reference to member 'float'
.float(interpolation),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:35:37: error: cannot infer contextual base in reference to member 'float'
.float(Float(direction.rawValue)),
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:36:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/blur.metal
BUILD FAILURE 5.9 macosSpm