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: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/joogps/Glur
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Glur",
"dependencies": [
]
}
]
}
Fetching https://github.com/joogps/Glur.git
[1/362] Fetching glur
Fetched https://github.com/joogps/Glur.git from cache (5.67s)
Creating working copy for https://github.com/joogps/Glur.git
Working copy of https://github.com/joogps/Glur.git resolved at main (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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module Glur
/Users/builder/builds/TDmZkXJm/3/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 Glur.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
let library = ShaderLibrary.bundle(.module)
~^~~~~~
[5/7] Compiling Glur CompatibilityModifier.swift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/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
^
[6/7] Compiling Glur GlurModifier.swift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:36:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
[7/7] Compiling Glur BlurDirection.swift
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/TDmZkXJm/3/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/TDmZkXJm/3/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 GlurModifier.swift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:36:37: error: cannot infer contextual base in reference to member 'float'
.float(displayScale))
~^~~~~
[4/4] Compiling Glur Glur.swift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Glur/blur.metal
BUILD FAILURE 5.10 macosSpm