Build Information
Failed to build snap-style, reference 0.1.0 (28b223), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 21:53:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-style.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-style
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 28b223a Update readme
Cloned https://github.com/simonnickel/snap-style.git
Revision (git rev-parse @):
28b223aadb97c50205d57cd5cc287c9bd250e2b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-style.git at 0.1.0
Fetching https://github.com/simonnickel/snap-foundation.git
[1/167] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.66s)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (6faf393)
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "snap-style",
"name": "snap-style",
"url": "https://github.com/simonnickel/snap-style.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snap-style",
"traits": [
"default"
],
"dependencies": [
{
"identity": "snap-foundation",
"name": "snap-foundation",
"url": "https://github.com/simonnickel/snap-foundation.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snap-foundation",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/simonnickel/snap-style.git
[1/8765] Fetching snap-style
Fetched https://github.com/simonnickel/snap-style.git from cache (1.13s)
Fetching https://github.com/simonnickel/snap-foundation.git from cache
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.46s)
Creating working copy for https://github.com/simonnickel/snap-style.git
Working copy of https://github.com/simonnickel/snap-style.git resolved at 0.1.0 (28b223a)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (4dfd05c)
warning: '.resolve-product-dependencies': dependency 'snap-style' is not used by any target
Found 1 product dependencies
- snap-foundation
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/simonnickel/snap-style.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version--6988338F2F200930.txt
[11/16] Compiling SnapFoundation OSLog+Logger.swift
[12/16] Compiling SnapFoundation CGRect+Inset.swift
[13/16] Compiling SnapFoundation EdgeInsets+Helper.swift
[14/16] Compiling SnapFoundation ProcessInfo+isPreview.swift
[15/16] Compiling SnapFoundation ViewModifierConditional.swift
[16/16] Emitting module SnapFoundation
[17/40] Compiling SnapStyleBase SnapStyle+Builder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:25:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
23 | switch keyPath {
24 |
25 | case let keyPath as KeyPath<NumberKey, NumberKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
26 | if let builders = numbers[keyPath] as? [Key.ValueBuilder] {
27 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:30:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
28 | }
29 |
30 | case let keyPath as KeyPath<FontKey, FontKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
31 | if let builders = fonts[keyPath] as? [Key.ValueBuilder] {
32 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:35:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
33 | }
34 |
35 | case let keyPath as KeyPath<IconKey, IconKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
36 | if let builders = icons[keyPath] as? [Key.ValueBuilder] {
37 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:40:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
38 | }
39 |
40 | case let keyPath as KeyPath<SurfaceKey, SurfaceKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
41 | if let builders = surfaces[keyPath] as? [Key.ValueBuilder] {
42 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:45:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
43 | }
44 |
45 | case let keyPath as KeyPath<CompositionKey, CompositionKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
46 | if let builders = compositions[keyPath] as? [Key.ValueBuilder] {
47 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:50:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
48 | }
49 |
50 | case let keyPath as KeyPath<AccentKey, AccentKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
51 | if let builders = accents[keyPath] as? [Key.ValueBuilder] {
52 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:55:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
53 | }
54 |
55 | case let keyPath as KeyPath<ShapeKey, ShapeKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
56 | if let builders = shapes[keyPath] as? [Key.ValueBuilder] {
57 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
21 | switch Key.self {
22 |
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as NumberKey.Type: numbers = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
47 |
48 | case let key as FontKey.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
46 | case let key as NumberKey.Type: numbers = .init()
47 |
48 | case let key as FontKey.Type: fonts = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
49 |
50 | case let key as IconKey.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
48 | case let key as FontKey.Type: fonts = .init()
49 |
50 | case let key as IconKey.Type: icons = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
51 |
52 | case let key as SurfaceKey.Type:
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
50 | case let key as IconKey.Type: icons = .init()
51 |
52 | case let key as SurfaceKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
53 | compositions = .init()
54 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
57 | compositions = .init()
58 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
61 | accents = .init()
62 | compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
63 | surfaces = .init()
64 |
65 | case let key as ShapeKey.Type: shapes = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
66 |
67 | default: fatalError("Cache is not setup properly.")
[18/40] Compiling SnapStyleBase SnapStyle+Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:25:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
23 | switch keyPath {
24 |
25 | case let keyPath as KeyPath<NumberKey, NumberKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
26 | if let builders = numbers[keyPath] as? [Key.ValueBuilder] {
27 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:30:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
28 | }
29 |
30 | case let keyPath as KeyPath<FontKey, FontKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
31 | if let builders = fonts[keyPath] as? [Key.ValueBuilder] {
32 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:35:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
33 | }
34 |
35 | case let keyPath as KeyPath<IconKey, IconKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
36 | if let builders = icons[keyPath] as? [Key.ValueBuilder] {
37 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:40:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
38 | }
39 |
40 | case let keyPath as KeyPath<SurfaceKey, SurfaceKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
41 | if let builders = surfaces[keyPath] as? [Key.ValueBuilder] {
42 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:45:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
43 | }
44 |
45 | case let keyPath as KeyPath<CompositionKey, CompositionKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
46 | if let builders = compositions[keyPath] as? [Key.ValueBuilder] {
47 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:50:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
48 | }
49 |
50 | case let keyPath as KeyPath<AccentKey, AccentKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
51 | if let builders = accents[keyPath] as? [Key.ValueBuilder] {
52 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:55:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
53 | }
54 |
55 | case let keyPath as KeyPath<ShapeKey, ShapeKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
56 | if let builders = shapes[keyPath] as? [Key.ValueBuilder] {
57 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
21 | switch Key.self {
22 |
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as NumberKey.Type: numbers = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
47 |
48 | case let key as FontKey.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
46 | case let key as NumberKey.Type: numbers = .init()
47 |
48 | case let key as FontKey.Type: fonts = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
49 |
50 | case let key as IconKey.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
48 | case let key as FontKey.Type: fonts = .init()
49 |
50 | case let key as IconKey.Type: icons = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
51 |
52 | case let key as SurfaceKey.Type:
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
50 | case let key as IconKey.Type: icons = .init()
51 |
52 | case let key as SurfaceKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
53 | compositions = .init()
54 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
57 | compositions = .init()
58 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
61 | accents = .init()
62 | compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
63 | surfaces = .init()
64 |
65 | case let key as ShapeKey.Type: shapes = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
66 |
67 | default: fatalError("Cache is not setup properly.")
[19/40] Compiling SnapStyleBase SnapStyle+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:25:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
23 | switch keyPath {
24 |
25 | case let keyPath as KeyPath<NumberKey, NumberKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.NumberKey, SnapStyle.NumberKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.NumberKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.NumberKey>>>') always fails
26 | if let builders = numbers[keyPath] as? [Key.ValueBuilder] {
27 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:30:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
28 | }
29 |
30 | case let keyPath as KeyPath<FontKey, FontKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.FontKey, SnapStyle.FontKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.FontKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.FontKey>>>') always fails
31 | if let builders = fonts[keyPath] as? [Key.ValueBuilder] {
32 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:35:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
33 | }
34 |
35 | case let keyPath as KeyPath<IconKey, IconKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.IconKey, SnapStyle.IconKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.IconKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.IconKey>>>') always fails
36 | if let builders = icons[keyPath] as? [Key.ValueBuilder] {
37 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:40:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
38 | }
39 |
40 | case let keyPath as KeyPath<SurfaceKey, SurfaceKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.SurfaceKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.SurfaceKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.SurfaceKey>>>') always fails
41 | if let builders = surfaces[keyPath] as? [Key.ValueBuilder] {
42 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:45:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
43 | }
44 |
45 | case let keyPath as KeyPath<CompositionKey, CompositionKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.CompositionKey, SnapStyle.CompositionKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.CompositionKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.CompositionKey>>>') always fails
46 | if let builders = compositions[keyPath] as? [Key.ValueBuilder] {
47 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:50:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
48 | }
49 |
50 | case let keyPath as KeyPath<AccentKey, AccentKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.AccentKey, SnapStyle.AccentKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.AccentKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.AccentKey>>>') always fails
51 | if let builders = accents[keyPath] as? [Key.ValueBuilder] {
52 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Builder.swift:55:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
53 | }
54 |
55 | case let keyPath as KeyPath<ShapeKey, ShapeKey.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, SnapStyle.ValueBuilder<SnapStyle.Value<Key>>>') to unrelated type 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ShapeKey.ValueBuilder>' (aka 'KeyPath<SnapStyle.ShapeKey, SnapStyle.ValueBuilder<SnapStyle.Value<SnapStyle.ShapeKey>>>') always fails
56 | if let builders = shapes[keyPath] as? [Key.ValueBuilder] {
57 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
21 | switch Key.self {
22 |
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
23 | case let key as NumberKey.Type: return numbers as? KeyTypeCache<Key>
24 |
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
25 | case let key as FontKey.Type: return fonts as? KeyTypeCache<Key>
26 |
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
27 | case let key as IconKey.Type: return icons as? KeyTypeCache<Key>
28 |
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
29 | case let key as SurfaceKey.Type: return surfaces as? KeyTypeCache<Key>
30 |
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
31 | case let key as CompositionKey.Type: return compositions as? KeyTypeCache<Key>
32 |
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
33 | case let key as AccentKey.Type: return accents as? KeyTypeCache<Key>
34 |
35 | case let key as ShapeKey.Type: return shapes as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as NumberKey.Type: numbers = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
47 |
48 | case let key as FontKey.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
46 | case let key as NumberKey.Type: numbers = .init()
47 |
48 | case let key as FontKey.Type: fonts = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
49 |
50 | case let key as IconKey.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
48 | case let key as FontKey.Type: fonts = .init()
49 |
50 | case let key as IconKey.Type: icons = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
51 |
52 | case let key as SurfaceKey.Type:
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
50 | case let key as IconKey.Type: icons = .init()
51 |
52 | case let key as SurfaceKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
53 | compositions = .init()
54 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
57 | compositions = .init()
58 | surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
61 | accents = .init()
62 | compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/SnapStyle+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
63 | surfaces = .init()
64 |
65 | case let key as ShapeKey.Type: shapes = .init()
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
66 |
67 | default: fatalError("Cache is not setup properly.")
[20/42] Emitting module SnapStyleBase
[21/42] Compiling SnapStyleBase Context+ColorScheme.swift
[22/42] Compiling SnapStyleBase Context+Scaling.swift
[23/42] Compiling SnapStyleBase View+ContextAttributeModifier.swift
[24/42] Compiling SnapStyleBase View+StyleOverride.swift
[25/42] Compiling SnapStyleBase View+UpdateModifier.swift
[26/42] Compiling SnapStyleBase CompositionKey.Value.swift
[27/42] Compiling SnapStyleBase FontKey.Value.Definition+Font.swift
[28/42] Compiling SnapStyleBase SnapStyle.swift
[29/42] Compiling SnapStyleBase ValueBuilder.swift
[30/42] Compiling SnapStyleBase Context+Description.swift
[31/42] Compiling SnapStyleBase FontKey.Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/FontKey.Value.swift:66:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 | }
65 |
66 | public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use a default value parameter to avoid this warning
| |- note: provide a default value to avoid this warning
| `- note: use 'String(describing:)' to silence this warning
67 |
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/FontKey.Value.swift:66:108: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 | }
65 |
66 | public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use a default value parameter to avoid this warning
| |- note: provide a default value to avoid this warning
| `- note: use 'String(describing:)' to silence this warning
67 |
68 | }
[32/42] Compiling SnapStyleBase IconKey.Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/FontKey.Value.swift:66:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 | }
65 |
66 | public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use a default value parameter to avoid this warning
| |- note: provide a default value to avoid this warning
| `- note: use 'String(describing:)' to silence this warning
67 |
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/FontKey.Value.swift:66:108: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 | }
65 |
66 | public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use a default value parameter to avoid this warning
| |- note: provide a default value to avoid this warning
| `- note: use 'String(describing:)' to silence this warning
67 |
68 | }
[33/42] Compiling SnapStyleBase NumberKey.Value.swift
[34/42] Compiling SnapStyleBase ShapeKey.Value.swift
[35/42] Compiling SnapStyleBase SurfaceKey.Value.swift
[36/42] Compiling SnapStyleBase View+SetupModifier.swift
[37/42] Compiling SnapStyleBase AccentKey.Value.swift
[38/42] Compiling SnapStyleBase SnapStyle.Value.swift
[39/42] Compiling SnapStyleBase StyleKey.swift
[40/42] Compiling SnapStyleBase Context.swift
[41/42] Compiling SnapStyleBase ContextWrapper+Values.swift
[42/42] Compiling SnapStyleBase ContextWrapper.swift
[43/48] Compiling SnapStyleComponents Structure+Description.swift
[44/48] Compiling SnapStyleComponents ComponentStack.swift
[45/48] Compiling SnapStyleComponents Element.swift
[46/48] Compiling SnapStyleComponents Component.swift
[47/48] Emitting module SnapStyleComponents
[48/48] Compiling SnapStyleComponents ComponentDefinition.swift
[49/59] Compiling SnapStyleDefinitions NumberKey+Definitions.swift
[50/59] Compiling SnapStyleDefinitions IconKey+Definitions.swift
[51/59] Compiling SnapStyleDefinitions ShapeKey+Definitons.swift
[52/59] Compiling SnapStyleDefinitions Padding+Definitions.swift
[53/60] Compiling SnapStyleDefinitions FontKey+Definitions.swift
[54/60] Compiling SnapStyleDefinitions Context+Component.swift
[55/60] Compiling SnapStyleDefinitions Context+Accent.swift
[56/60] Emitting module SnapStyleDefinitions
[57/60] Compiling SnapStyleDefinitions AccentKey+Definitions.swift
[58/60] Compiling SnapStyleDefinitions Components.swift
[59/60] Compiling SnapStyleDefinitions CompositionKey+Definitions.swift
[60/60] Compiling SnapStyleDefinitions SurfaceKey+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Definitions/SurfaceKey+Definitions.swift:106:17: warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
104 | let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
105 | let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
106 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
| `- warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
107 |
108 | return .definition(.any(AnyShapeStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Definitions/SurfaceKey+Definitions.swift:131:17: warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
129 |
130 | let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
131 | let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
| `- warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
133 |
[61/75] Compiling SnapStyleKeyModifier PaddingModifier.swift
[62/75] Compiling SnapStyleKeyModifier BackgroundModifier.swift
[63/75] Compiling SnapStyleKeyModifier SafeAreaPaddingModifier.swift
[64/75] Compiling SnapStyleKeyModifier ShapeModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeyModifier/ShapeModifier.swift:37:52: error: cannot find 'AnyInsettableShape' in scope
35 | let shape = shape.shape(with: style)
36 | content
37 | .modifier(ShapeModifier(shape: AnyInsettableShape(shape), shouldClip: shouldClip))
| `- error: cannot find 'AnyInsettableShape' in scope
38 | }
39 | } else {
[65/76] Compiling SnapStyleKeyModifier ListSectionSpacingModifier.swift
[66/76] Compiling SnapStyleKeyModifier ModifyWithModifier.swift
[67/76] Compiling SnapStyleKeyModifier FontModifier.swift
[68/76] Compiling SnapStyleKeyModifier ContentMarginsModifier.swift
[69/76] Compiling SnapStyleKeyModifier FrameModifier.swift
[70/76] Compiling SnapStyleKeyModifier ListRowInsetsModifier.swift
[71/76] Compiling SnapStyleKeyModifier Context+FontDesign.swift
[72/76] Compiling SnapStyleKeyModifier Context+FontWidth.swift
[73/76] Emitting module SnapStyleKeyModifier
[74/76] Compiling SnapStyleKeyModifier AccentColorModifier.swift
[75/76] Compiling SnapStyleKeyModifier CompositionModifier.swift
[76/76] Compiling SnapStyleKeyModifier ForegroundModifier.swift
BUILD FAILURE 6.3 macosSpm