Build Information
Failed to build Glur with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.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/1/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "glur",
"name": "Glur",
"url": "https://github.com/joogps/Glur.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Glur",
"dependencies": [
]
}
]
}
Fetching https://github.com/joogps/Glur.git
[4/362] Fetching glur
Fetched https://github.com/joogps/Glur.git from cache (2.26s)
Creating working copy for https://github.com/joogps/Glur.git
Working copy of https://github.com/joogps/Glur.git resolved at 1.0.4 (9e00ff7)
warning: '.resolve-product-dependencies': dependency 'glur' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/joogps/Glur.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/7] Compiling Glur Glur.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
[4/7] Compiling Glur GlurModifier.swift
/Users/builder/builds/UKfvDsi8u/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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)
[5/7] Compiling Glur BlurDirection.swift
[6/7] Compiling Glur CompatibilityModifier.swift
/Users/builder/builds/UKfvDsi8u/1/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/1/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
^
[7/7] Emitting module Glur
/Users/builder/builds/UKfvDsi8u/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/blur.metal
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module Glur
/Users/builder/builds/UKfvDsi8u/1/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/4] Compiling Glur Glur.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
[4/4] Compiling Glur GlurModifier.swift
/Users/builder/builds/UKfvDsi8u/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/blur.metal
BUILD FAILURE 5.10 macosSpm