Build Information
Failed to build snap-style, reference 0.1.0 (28b223
), with Swift 6.1 for macOS (SPM) on 3 Sep 2025 19:24:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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/128] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.65s)
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",
"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",
"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",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/simonnickel/snap-style.git
[1/6118] Fetching snap-style
Fetched https://github.com/simonnickel/snap-style.git from cache (1.02s)
Fetching https://github.com/simonnickel/snap-foundation.git from cache
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.49s)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (37d9837)
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)
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.1
Building package at path: $PWD
https://github.com/simonnickel/snap-style.git
https://github.com/simonnickel/snap-style.git
{
"dependencies" : [
{
"identity" : "snap-foundation",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/simonnickel/snap-foundation.git"
}
],
"manifest_display_name" : "snap-style",
"name" : "snap-style",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SnapStyle",
"targets" : [
"SnapStyle",
"SnapStyleViews",
"SnapStyleLayout",
"SnapStyleKeyModifier",
"SnapStyleDefinitions",
"SnapStyleComponents",
"SnapStyleBase",
"SnapStyleDebug"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SnapStyleViews",
"module_type" : "SwiftTarget",
"name" : "SnapStyleViews",
"path" : "Sources/Views",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"Container/CornerContainer.swift",
"Container/ScrollingHStack.swift",
"Container/StyleFlowLayout.swift"
],
"target_dependencies" : [
"SnapStyleBase",
"SnapStyleComponents",
"SnapStyleDefinitions",
"SnapStyleKeyModifier",
"SnapStyleLayout"
],
"type" : "library"
},
{
"c99name" : "SnapStyleLayout",
"module_type" : "SwiftTarget",
"name" : "SnapStyleLayout",
"path" : "Sources/Layout",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"ComponentModifier/View+Component.swift",
"ComponentModifier/View+Element.swift",
"LayoutViews/List/ListRowCompositionModifier.swift",
"LayoutViews/List/StyleList.swift",
"LayoutViews/List/StyleListIconWidthSynchronisation.swift",
"LayoutViews/List/StyleListRow+Navigation.swift",
"LayoutViews/List/StyleListRow+Variant.swift",
"LayoutViews/List/StyleListRow.swift",
"LayoutViews/List/StyleListSectionHeaderLabel.swift",
"LayoutViews/Screen/Environment+StyleScreen.swift",
"LayoutViews/Screen/Helper/UIKitViewControllerHook.swift",
"LayoutViews/Screen/ScreenInsetContainer.swift",
"LayoutViews/Screen/StyleNavigationBarModifier.swift",
"LayoutViews/Screen/StyleScreen.swift",
"LayoutViews/Screen/StyleScreenConfiguration.swift",
"LayoutViews/Stack/StyleLazyHStack.swift",
"LayoutViews/Stack/StyleLazyVStack.swift",
"LayoutViews/Stack/StyleStack+Spacing.swift",
"LayoutViews/Stack/StyleStack.swift",
"LayoutViews/StyleSpacer.swift",
"LayoutViews/View+stretch.swift",
"StyleViews/StyleButton.swift",
"StyleViews/StyleButtonInteractionState.swift",
"StyleViews/StyleIcon.swift",
"StyleViews/StyleLabel.swift",
"StyleViews/StyleShapeView.swift"
],
"target_dependencies" : [
"SnapStyleBase",
"SnapStyleComponents",
"SnapStyleDefinitions",
"SnapStyleKeyModifier"
],
"type" : "library"
},
{
"c99name" : "SnapStyleKeyModifier",
"module_type" : "SwiftTarget",
"name" : "SnapStyleKeyModifier",
"path" : "Sources/KeyModifier",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"Accent/AccentColorModifier.swift",
"Composition/CompositionModifier.swift",
"Font/Context+FontDesign.swift",
"Font/Context+FontWidth.swift",
"Font/FontModifier.swift",
"Number/ContentMarginsModifier.swift",
"Number/FrameModifier.swift",
"Number/ListRowInsetsModifier.swift",
"Number/ListSectionSpacingModifier.swift",
"Number/ModifyWithModifier.swift",
"Number/PaddingModifier.swift",
"Number/SafeAreaPaddingModifier.swift",
"ShapeModifier.swift",
"Surface/BackgroundModifier.swift",
"Surface/ForegroundModifier.swift"
],
"target_dependencies" : [
"SnapStyleBase",
"SnapStyleComponents",
"SnapStyleDefinitions"
],
"type" : "library"
},
{
"c99name" : "SnapStyleDefinitions",
"module_type" : "SwiftTarget",
"name" : "SnapStyleDefinitions",
"path" : "Sources/Definitions",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"AccentKey+Definitions.swift",
"Components.swift",
"CompositionKey+Definitions.swift",
"Context/Context+Accent.swift",
"Context/Context+Component.swift",
"FontKey+Definitions.swift",
"IconKey+Definitions.swift",
"NumberKey+Definitions.swift",
"Padding+Definitions.swift",
"ShapeKey+Definitons.swift",
"SurfaceKey+Definitions.swift"
],
"target_dependencies" : [
"SnapStyleBase",
"SnapStyleComponents"
],
"type" : "library"
},
{
"c99name" : "SnapStyleDebug",
"module_type" : "SwiftTarget",
"name" : "SnapStyleDebug",
"path" : "Sources/X-Debug",
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"DebugCacheScreen.swift",
"DebugElementScreen.swift",
"DebugKeyRowComposition.swift",
"DebugKeyRowFont.swift",
"DebugKeyRowNumber.swift",
"DebugKeyRowShape.swift",
"DebugKeyRowSurface.swift",
"DebugOverlay.swift"
],
"target_dependencies" : [
"SnapStyle"
],
"type" : "library"
},
{
"c99name" : "SnapStyleComponents",
"module_type" : "SwiftTarget",
"name" : "SnapStyleComponents",
"path" : "Sources/Components",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"Component.swift",
"ComponentDefinition.swift",
"ComponentStack.swift",
"Element.swift",
"Structure+Description.swift"
],
"target_dependencies" : [
"SnapStyleBase"
],
"type" : "library"
},
{
"c99name" : "SnapStyleBase",
"module_type" : "SwiftTarget",
"name" : "SnapStyleBase",
"path" : "Sources/Base",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"Container/SnapStyle+Builder.swift",
"Container/SnapStyle+Cache.swift",
"Container/SnapStyle+Configuration.swift",
"Container/SnapStyle.swift",
"Container/ValueBuilder.swift",
"Context/Context+Description.swift",
"Context/Context.swift",
"Context/ContextWrapper+Values.swift",
"Context/ContextWrapper.swift",
"Context/Values/Context+ColorScheme.swift",
"Context/Values/Context+Scaling.swift",
"Context/View+ContextAttributeModifier.swift",
"Keys/AccentKey.Value.swift",
"Keys/Base/SnapStyle.Value.swift",
"Keys/Base/StyleKey.swift",
"Keys/CompositionKey.Value.swift",
"Keys/FontKey.Value.Definition+Font.swift",
"Keys/FontKey.Value.swift",
"Keys/IconKey.Value.swift",
"Keys/NumberKey.Value.swift",
"Keys/ShapeKey.Value.swift",
"Keys/SurfaceKey.Value.swift",
"Setup/View+SetupModifier.swift",
"Setup/View+StyleOverride.swift",
"Setup/View+UpdateModifier.swift"
],
"type" : "library"
},
{
"c99name" : "SnapStyle",
"module_type" : "SwiftTarget",
"name" : "SnapStyle",
"path" : "Sources/X-SnapStyle",
"product_dependencies" : [
"SnapFoundation"
],
"product_memberships" : [
"SnapStyle"
],
"sources" : [
"Import.swift"
],
"target_dependencies" : [
"SnapStyleBase",
"SnapStyleComponents",
"SnapStyleDefinitions",
"SnapStyleKeyModifier",
"SnapStyleLayout",
"SnapStyleViews"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-2F0A5646E1D333AE.txt
[11/16] Compiling SnapFoundation OSLog+Logger.swift
[12/16] Compiling SnapFoundation ProcessInfo+isPreview.swift
[13/16] Emitting module SnapFoundation
[14/16] Compiling SnapFoundation CGRect+Inset.swift
[15/16] Compiling SnapFoundation ViewModifierConditional.swift
[16/16] Compiling SnapFoundation EdgeInsets+Helper.swift
[17/40] Emitting module SnapStyleBase
[18/42] Compiling SnapStyleBase CompositionKey.Value.swift
[19/42] Compiling SnapStyleBase FontKey.Value.Definition+Font.swift
[20/42] Compiling SnapStyleBase SurfaceKey.Value.swift
[21/42] Compiling SnapStyleBase View+SetupModifier.swift
[22/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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[23/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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[24/42] Compiling SnapStyleBase NumberKey.Value.swift
[25/42] Compiling SnapStyleBase ShapeKey.Value.swift
[26/42] Compiling SnapStyleBase AccentKey.Value.swift
[27/42] Compiling SnapStyleBase SnapStyle.Value.swift
[28/42] Compiling SnapStyleBase StyleKey.swift
[29/42] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[30/42] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[31/42] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[32/42] Compiling SnapStyleBase SnapStyle.swift
[33/42] Compiling SnapStyleBase ValueBuilder.swift
[34/42] Compiling SnapStyleBase Context+Description.swift
[35/42] Compiling SnapStyleBase Context+ColorScheme.swift
[36/42] Compiling SnapStyleBase Context+Scaling.swift
[37/42] Compiling SnapStyleBase View+ContextAttributeModifier.swift
[38/42] Compiling SnapStyleBase Context.swift
[39/42] Compiling SnapStyleBase ContextWrapper+Values.swift
[40/42] Compiling SnapStyleBase ContextWrapper.swift
[41/42] Compiling SnapStyleBase View+StyleOverride.swift
[42/42] Compiling SnapStyleBase View+UpdateModifier.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] Compiling SnapStyleComponents ComponentDefinition.swift
[48/48] Emitting module SnapStyleComponents
[49/59] Compiling SnapStyleDefinitions ShapeKey+Definitons.swift
[50/60] Compiling SnapStyleDefinitions NumberKey+Definitions.swift
[51/60] Compiling SnapStyleDefinitions Padding+Definitions.swift
[52/60] Compiling SnapStyleDefinitions Context+Component.swift
[53/60] Compiling SnapStyleDefinitions Context+Accent.swift
[54/60] Compiling SnapStyleDefinitions IconKey+Definitions.swift
[55/60] Compiling SnapStyleDefinitions CompositionKey+Definitions.swift
[56/60] Compiling SnapStyleDefinitions AccentKey+Definitions.swift
[57/60] Compiling SnapStyleDefinitions Components.swift
[58/60] Emitting module SnapStyleDefinitions
[59/60] Compiling SnapStyleDefinitions FontKey+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
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
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
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
132 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
133 |
[61/75] Compiling SnapStyleKeyModifier BackgroundModifier.swift
[62/75] Compiling SnapStyleKeyModifier PaddingModifier.swift
[63/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 {
[64/76] Compiling SnapStyleKeyModifier SafeAreaPaddingModifier.swift
[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 Context+FontDesign.swift
[70/76] Compiling SnapStyleKeyModifier Context+FontWidth.swift
[71/76] Compiling SnapStyleKeyModifier FrameModifier.swift
[72/76] Compiling SnapStyleKeyModifier ListRowInsetsModifier.swift
[73/76] Compiling SnapStyleKeyModifier AccentColorModifier.swift
[74/76] Compiling SnapStyleKeyModifier CompositionModifier.swift
[75/76] Emitting module SnapStyleKeyModifier
[76/76] Compiling SnapStyleKeyModifier ForegroundModifier.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling SnapFoundation ViewModifierConditional.swift
[3/7] Compiling SnapFoundation CGRect+Inset.swift
[4/7] Compiling SnapFoundation EdgeInsets+Helper.swift
[5/7] Emitting module SnapFoundation
[6/7] Compiling SnapFoundation OSLog+Logger.swift
[7/7] Compiling SnapFoundation ProcessInfo+isPreview.swift
[8/31] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[9/31] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[10/31] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
54 | surfaces = .init()
55 |
56 | case let key as CompositionKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
58 | surfaces = .init()
59 |
60 | case let key as AccentKey.Type:
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
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
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
66 |
67 | default: fatalError("Cache is not setup properly.")
[11/33] Emitting module SnapStyleBase
[12/33] Compiling SnapStyleBase CompositionKey.Value.swift
[13/33] Compiling SnapStyleBase FontKey.Value.Definition+Font.swift
[14/33] Compiling SnapStyleBase AccentKey.Value.swift
[15/33] Compiling SnapStyleBase SnapStyle.Value.swift
[16/33] Compiling SnapStyleBase StyleKey.swift
[17/33] 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[18/33] 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid 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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[19/33] Compiling SnapStyleBase SurfaceKey.Value.swift
[20/33] Compiling SnapStyleBase View+SetupModifier.swift
[21/33] Compiling SnapStyleBase SnapStyle.swift
[22/33] Compiling SnapStyleBase ValueBuilder.swift
[23/33] Compiling SnapStyleBase Context+Description.swift
[24/33] Compiling SnapStyleBase NumberKey.Value.swift
[25/33] Compiling SnapStyleBase ShapeKey.Value.swift
[26/33] Compiling SnapStyleBase Context+ColorScheme.swift
[27/33] Compiling SnapStyleBase Context+Scaling.swift
[28/33] Compiling SnapStyleBase View+ContextAttributeModifier.swift
[29/33] Compiling SnapStyleBase Context.swift
[30/33] Compiling SnapStyleBase ContextWrapper+Values.swift
[31/33] Compiling SnapStyleBase ContextWrapper.swift
[32/33] Compiling SnapStyleBase View+StyleOverride.swift
[33/33] Compiling SnapStyleBase View+UpdateModifier.swift
[34/39] Compiling SnapStyleComponents ComponentStack.swift
[35/39] Compiling SnapStyleComponents Structure+Description.swift
[36/39] Emitting module SnapStyleComponents
[37/39] Compiling SnapStyleComponents ComponentDefinition.swift
[38/39] Compiling SnapStyleComponents Component.swift
[39/39] Compiling SnapStyleComponents Element.swift
[40/50] Compiling SnapStyleDefinitions ShapeKey+Definitons.swift
[41/51] Compiling SnapStyleDefinitions IconKey+Definitions.swift
[42/51] Compiling SnapStyleDefinitions Padding+Definitions.swift
[43/51] Compiling SnapStyleDefinitions Context+Accent.swift
[44/51] Compiling SnapStyleDefinitions FontKey+Definitions.swift
[45/51] Compiling SnapStyleDefinitions NumberKey+Definitions.swift
[46/51] Compiling SnapStyleDefinitions Context+Component.swift
[47/51] Compiling SnapStyleDefinitions CompositionKey+Definitions.swift
[48/51] Emitting module SnapStyleDefinitions
[49/51] Compiling SnapStyleDefinitions AccentKey+Definitions.swift
[50/51] Compiling SnapStyleDefinitions Components.swift
[51/51] 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
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
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
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
132 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
133 |
[52/66] Compiling SnapStyleKeyModifier PaddingModifier.swift
[53/66] Compiling SnapStyleKeyModifier BackgroundModifier.swift
[54/66] Compiling SnapStyleKeyModifier FrameModifier.swift
[55/66] Compiling SnapStyleKeyModifier ListRowInsetsModifier.swift
[56/66] Compiling SnapStyleKeyModifier SafeAreaPaddingModifier.swift
[57/66] 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 {
[58/67] Compiling SnapStyleKeyModifier ListSectionSpacingModifier.swift
[59/67] Compiling SnapStyleKeyModifier ModifyWithModifier.swift
[60/67] Compiling SnapStyleKeyModifier Context+FontDesign.swift
[61/67] Compiling SnapStyleKeyModifier Context+FontWidth.swift
[62/67] Compiling SnapStyleKeyModifier FontModifier.swift
[63/67] Compiling SnapStyleKeyModifier ContentMarginsModifier.swift
[64/67] Emitting module SnapStyleKeyModifier
[65/67] Compiling SnapStyleKeyModifier AccentColorModifier.swift
[66/67] Compiling SnapStyleKeyModifier CompositionModifier.swift
[67/67] Compiling SnapStyleKeyModifier ForegroundModifier.swift
BUILD FAILURE 6.1 macosSpm