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 Glur, reference 1.0.4 (9e00ff), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 11:06:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joogps/Glur.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "glur",
      "name": "Glur",
      "url": "https://github.com/joogps/Glur.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Glur",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/joogps/Glur.git
[1/449] Fetching glur
Fetched https://github.com/joogps/Glur.git from cache (2.34s)
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:             6.0
Building package at path:  $PWD
https://github.com/joogps/Glur.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling Glur BlurDirection.swift
[4/7] Compiling Glur CompatibilityModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glur/CompatibilityModifier.swift:29:14: warning: variable 'startPoint' was never mutated; consider changing to 'let' constant
27 |
28 |     var gradientMask: some View {
29 |         var (startPoint, endPoint) = direction.unitPoints
   |              `- warning: variable 'startPoint' was never mutated; consider changing to 'let' constant
30 |
31 |         return LinearGradient(stops: [
/Users/admin/builder/spi-builder-workspace/Sources/Glur/CompatibilityModifier.swift:29:26: warning: variable 'endPoint' was never mutated; consider changing to 'let' constant
27 |
28 |     var gradientMask: some View {
29 |         var (startPoint, endPoint) = direction.unitPoints
   |                          `- warning: variable 'endPoint' was never mutated; consider changing to 'let' constant
30 |
31 |         return LinearGradient(stops: [
[5/7] Emitting module Glur
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
17 |     @Environment(\.displayScale) var displayScale
18 |
19 |     let library = ShaderLibrary.bundle(.module)
   |                                         `- error: type 'Bundle' has no member 'module'
20 |
21 |     var blurX: Shader {
[6/7] Compiling Glur Glur.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
17 |     @Environment(\.displayScale) var displayScale
18 |
19 |     let library = ShaderLibrary.bundle(.module)
   |                                         `- error: type 'Bundle' has no member 'module'
20 |
21 |     var blurX: Shader {
[7/7] Compiling Glur GlurModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:19:41: error: type 'Bundle' has no member 'module'
17 |     @Environment(\.displayScale) var displayScale
18 |
19 |     let library = ShaderLibrary.bundle(.module)
   |                                         `- error: type 'Bundle' has no member 'module'
20 |
21 |     var blurX: Shader {
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:22:37: error: cannot infer contextual base in reference to member 'float'
20 |
21 |     var blurX: Shader {
22 |         var shader = library.blurX(.float(radius),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
23 |                                    .float(offset),
24 |                                    .float(interpolation),
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:23:37: error: cannot infer contextual base in reference to member 'float'
21 |     var blurX: Shader {
22 |         var shader = library.blurX(.float(radius),
23 |                                    .float(offset),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
24 |                                    .float(interpolation),
25 |                                    .float(Float(direction.rawValue)),
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:24:37: error: cannot infer contextual base in reference to member 'float'
22 |         var shader = library.blurX(.float(radius),
23 |                                    .float(offset),
24 |                                    .float(interpolation),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
25 |                                    .float(Float(direction.rawValue)),
26 |                                    .float(displayScale))
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:25:37: error: cannot infer contextual base in reference to member 'float'
23 |                                    .float(offset),
24 |                                    .float(interpolation),
25 |                                    .float(Float(direction.rawValue)),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
26 |                                    .float(displayScale))
27 |         shader.dithersColor = true
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:26:37: error: cannot infer contextual base in reference to member 'float'
24 |                                    .float(interpolation),
25 |                                    .float(Float(direction.rawValue)),
26 |                                    .float(displayScale))
   |                                     `- error: cannot infer contextual base in reference to member 'float'
27 |         shader.dithersColor = true
28 |         return shader
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:32:37: error: cannot infer contextual base in reference to member 'float'
30 |
31 |     var blurY: Shader {
32 |         var shader = library.blurY(.float(radius),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
33 |                                    .float(offset),
34 |                                    .float(interpolation),
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:33:37: error: cannot infer contextual base in reference to member 'float'
31 |     var blurY: Shader {
32 |         var shader = library.blurY(.float(radius),
33 |                                    .float(offset),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
34 |                                    .float(interpolation),
35 |                                    .float(Float(direction.rawValue)),
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:34:37: error: cannot infer contextual base in reference to member 'float'
32 |         var shader = library.blurY(.float(radius),
33 |                                    .float(offset),
34 |                                    .float(interpolation),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
35 |                                    .float(Float(direction.rawValue)),
36 |                                    .float(displayScale))
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:35:37: error: cannot infer contextual base in reference to member 'float'
33 |                                    .float(offset),
34 |                                    .float(interpolation),
35 |                                    .float(Float(direction.rawValue)),
   |                                     `- error: cannot infer contextual base in reference to member 'float'
36 |                                    .float(displayScale))
37 |         shader.dithersColor = true
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:36:37: error: cannot infer contextual base in reference to member 'float'
34 |                                    .float(interpolation),
35 |                                    .float(Float(direction.rawValue)),
36 |                                    .float(displayScale))
   |                                     `- error: cannot infer contextual base in reference to member 'float'
37 |         shader.dithersColor = true
38 |         return shader
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/Glur/blur.metal
BUILD FAILURE 6.0 macosSpm