The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build snap-style, reference main (07f9b6), with Swift 6.2 for macOS (SPM) on 29 Nov 2025 15:49:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-style.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-style
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 07f9b6d Rename file
Cloned https://github.com/simonnickel/snap-style.git
Revision (git rev-parse @):
07f9b6d597c06e52f6005a5758fc6bf1976f5f63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-style.git at main
Fetching https://github.com/simonnickel/snap-foundation.git
[1/161] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.70s)
Fetching https://github.com/simonnickel/snap-core.git
[1/418] Fetching snap-core
Fetched https://github.com/simonnickel/snap-core.git from cache (0.80s)
Creating working copy for https://github.com/simonnickel/snap-core.git
Working copy of https://github.com/simonnickel/snap-core.git resolved at main (38d5e6d)
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": [
          ]
        },
        {
          "identity": "snap-core",
          "name": "snap-core",
          "url": "https://github.com/simonnickel/snap-core.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snap-core",
          "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/7322] Fetching snap-style
Fetched https://github.com/simonnickel/snap-style.git from cache (1.29s)
Fetching https://github.com/simonnickel/snap-foundation.git from cache
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.44s)
Fetching https://github.com/simonnickel/snap-core.git from cache
Fetched https://github.com/simonnickel/snap-core.git from cache (0.46s)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (75dfea4)
Creating working copy for https://github.com/simonnickel/snap-style.git
Working copy of https://github.com/simonnickel/snap-style.git resolved at main (07f9b6d)
Creating working copy for https://github.com/simonnickel/snap-core.git
Working copy of https://github.com/simonnickel/snap-core.git resolved at main (38d5e6d)
warning: '.resolve-product-dependencies': dependency 'snap-style' is not used by any target
Found 2 product dependencies
  - snap-foundation
  - snap-core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/simonnickel/snap-style.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-49B95AFC49DCD68C.txt
[12/17] Compiling SnapFoundation ProcessInfo+isPreview.swift
[13/17] Compiling SnapFoundation CGRect+Inset.swift
[14/17] Compiling SnapFoundation ViewModifierConditional.swift
[15/17] Compiling SnapFoundation EdgeInsets+Helper.swift
[16/17] Emitting module SnapFoundation
[17/17] Compiling SnapFoundation OSLog+Logger.swift
[18/72] Compiling SnapStyleBase Style.Attributes.swift
[19/72] Compiling SnapStyleBase Style.Configuration.swift
[20/72] Compiling SnapStyleBase Style.ValueBuilder.swift
[21/74] Emitting module SnapStyleBase
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Context/ScaledValuePropertyWrapper.swift:6:8: warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 4 | //
 5 |
 6 | import SnapStyleBase
   |        `- warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 7 | import SwiftUI
 8 |
[22/74] Compiling SnapStyleBase Context+Scaling.swift
[23/74] Compiling SnapStyleBase View+ContextAttributeModifier.swift
[24/74] Compiling SnapStyleBase View+SetupModifier.swift
[25/76] Compiling SnapCore View+KeyboardPublisher.swift
[26/76] Compiling SnapCore ModalPresentation.swift
[27/76] Compiling SnapCore ReloadOnAppearModifier.swift
[28/76] Compiling SnapCore UnitPoint+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                          |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                          |- note: use a default value parameter to avoid this warning
   |                                                                                          |- note: provide a default value to avoid this warning
   |                                                                                          `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:108: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                                            |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                                            |- note: use a default value parameter to avoid this warning
   |                                                                                                            |- note: provide a default value to avoid this warning
   |                                                                                                            `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
[29/76] Compiling SnapCore Color+Adjust.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                          |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                          |- note: use a default value parameter to avoid this warning
   |                                                                                          |- note: provide a default value to avoid this warning
   |                                                                                          `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:108: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                                            |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                                            |- note: use a default value parameter to avoid this warning
   |                                                                                                            |- note: provide a default value to avoid this warning
   |                                                                                                            `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
[30/76] Compiling SnapCore ToggleTapable.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                          |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                          |- note: use a default value parameter to avoid this warning
   |                                                                                          |- note: provide a default value to avoid this warning
   |                                                                                          `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Attributes/Font.Value.swift:66:108: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
64 |             }
65 |
66 |             public var description: String { "size: \(size), weight: \(weight), width: \(width), design: \(design), textStyle: \(textStyle)" }
   |                                                                                                            |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                                            |- note: use a default value parameter to avoid this warning
   |                                                                                                            |- note: provide a default value to avoid this warning
   |                                                                                                            `- note: use 'String(describing:)' to silence this warning
67 |
68 |         }
[34/76] Compiling SnapStyleBase ScaledValuePropertyWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Context/ScaledValuePropertyWrapper.swift:6:8: warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 4 | //
 5 |
 6 | import SnapStyleBase
   |        `- warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 7 | import SwiftUI
 8 |
[35/76] Compiling SnapStyleBase Context+ColorScheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Context/ScaledValuePropertyWrapper.swift:6:8: warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 4 | //
 5 |
 6 | import SnapStyleBase
   |        `- warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 7 | import SwiftUI
 8 |
[36/76] Compiling SnapStyleBase Context+Elevation.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Context/ScaledValuePropertyWrapper.swift:6:8: warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 4 | //
 5 |
 6 | import SnapStyleBase
   |        `- warning: file 'ScaledValuePropertyWrapper.swift' is part of module 'SnapStyleBase'; ignoring import
 7 | import SwiftUI
 8 |
[37/76] Compiling SnapStyleBase Surface.Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:25:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 23 |             switch keyPath {
 24 |
 25 |                 case let keyPath as KeyPath<Attributes.Number, Attributes.Number.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 26 |                     if let builders = numbers[keyPath] as? [Attribute.ValueBuilder] {
 27 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:30:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 28 |                     }
 29 |
 30 |                 case let keyPath as KeyPath<Attributes.Font, Attributes.Font.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 31 |                     if let builders = fonts[keyPath] as? [Attribute.ValueBuilder] {
 32 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:35:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 33 |                     }
 34 |
 35 |                 case let keyPath as KeyPath<Attributes.Icon, Attributes.Icon.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 36 |                     if let builders = icons[keyPath] as? [Attribute.ValueBuilder] {
 37 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:40:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 38 |                     }
 39 |
 40 |                 case let keyPath as KeyPath<Attributes.Surface, Attributes.Surface.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 41 |                     if let builders = surfaces[keyPath] as? [Attribute.ValueBuilder] {
 42 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:45:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 43 |                     }
 44 |
 45 |                 case let keyPath as KeyPath<Attributes.Composition, Attributes.Composition.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 46 |                     if let builders = compositions[keyPath] as? [Attribute.ValueBuilder] {
 47 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:50:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 48 |                     }
 49 |
 50 |                 case let keyPath as KeyPath<Attributes.Accent, Attributes.Accent.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 51 |                     if let builders = accents[keyPath] as? [Attribute.ValueBuilder] {
 52 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:55:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 53 |                     }
 54 |
 55 |                 case let keyPath as KeyPath<Attributes.Shape, Attributes.Shape.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 56 |                     if let builders = shapes[keyPath] as? [Attribute.ValueBuilder] {
 57 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 21 |             switch Attribute.self {
 22 |
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 36 |
 37 |                 default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 44 |             switch Attribute.self {
 45 |
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 51 |
 52 |                 case let key as Attributes.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
 51 |
 52 |                 case let key as Attributes.Surface.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 53 |                     compositions = .init()
 54 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 54 |                     surfaces = .init()
 55 |
 56 |                 case let key as Attributes.Composition.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 57 |                     compositions = .init()
 58 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 58 |                     surfaces = .init()
 59 |
 60 |                 case let key as Attributes.Accent.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 61 |                     accents = .init()
 62 |                     compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 63 |                     surfaces = .init()
 64 |
 65 |                 case let key as Attributes.Shape.Type: shapes = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 66 |
 67 |                 default: fatalError("Cache is not setup properly.")
[38/76] Compiling SnapStyleBase Style+Builder.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:25:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 23 |             switch keyPath {
 24 |
 25 |                 case let keyPath as KeyPath<Attributes.Number, Attributes.Number.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 26 |                     if let builders = numbers[keyPath] as? [Attribute.ValueBuilder] {
 27 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:30:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 28 |                     }
 29 |
 30 |                 case let keyPath as KeyPath<Attributes.Font, Attributes.Font.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 31 |                     if let builders = fonts[keyPath] as? [Attribute.ValueBuilder] {
 32 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:35:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 33 |                     }
 34 |
 35 |                 case let keyPath as KeyPath<Attributes.Icon, Attributes.Icon.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 36 |                     if let builders = icons[keyPath] as? [Attribute.ValueBuilder] {
 37 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:40:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 38 |                     }
 39 |
 40 |                 case let keyPath as KeyPath<Attributes.Surface, Attributes.Surface.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 41 |                     if let builders = surfaces[keyPath] as? [Attribute.ValueBuilder] {
 42 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:45:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 43 |                     }
 44 |
 45 |                 case let keyPath as KeyPath<Attributes.Composition, Attributes.Composition.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 46 |                     if let builders = compositions[keyPath] as? [Attribute.ValueBuilder] {
 47 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:50:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 48 |                     }
 49 |
 50 |                 case let keyPath as KeyPath<Attributes.Accent, Attributes.Accent.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 51 |                     if let builders = accents[keyPath] as? [Attribute.ValueBuilder] {
 52 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:55:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 53 |                     }
 54 |
 55 |                 case let keyPath as KeyPath<Attributes.Shape, Attributes.Shape.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 56 |                     if let builders = shapes[keyPath] as? [Attribute.ValueBuilder] {
 57 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 21 |             switch Attribute.self {
 22 |
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 36 |
 37 |                 default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 44 |             switch Attribute.self {
 45 |
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 51 |
 52 |                 case let key as Attributes.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
 51 |
 52 |                 case let key as Attributes.Surface.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 53 |                     compositions = .init()
 54 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 54 |                     surfaces = .init()
 55 |
 56 |                 case let key as Attributes.Composition.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 57 |                     compositions = .init()
 58 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 58 |                     surfaces = .init()
 59 |
 60 |                 case let key as Attributes.Accent.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 61 |                     accents = .init()
 62 |                     compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 63 |                     surfaces = .init()
 64 |
 65 |                 case let key as Attributes.Shape.Type: shapes = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 66 |
 67 |                 default: fatalError("Cache is not setup properly.")
[39/76] Compiling SnapStyleBase Style+Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:25:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 23 |             switch keyPath {
 24 |
 25 |                 case let keyPath as KeyPath<Attributes.Number, Attributes.Number.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Number, Style.Attributes.Number.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Number, Style.ValueBuilder<Style.Value<Style.Attributes.Number>>>') always fails
 26 |                     if let builders = numbers[keyPath] as? [Attribute.ValueBuilder] {
 27 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:30:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 28 |                     }
 29 |
 30 |                 case let keyPath as KeyPath<Attributes.Font, Attributes.Font.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Font, Style.Attributes.Font.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Font, Style.ValueBuilder<Style.Value<Style.Attributes.Font>>>') always fails
 31 |                     if let builders = fonts[keyPath] as? [Attribute.ValueBuilder] {
 32 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:35:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 33 |                     }
 34 |
 35 |                 case let keyPath as KeyPath<Attributes.Icon, Attributes.Icon.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Icon, Style.Attributes.Icon.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Icon, Style.ValueBuilder<Style.Value<Style.Attributes.Icon>>>') always fails
 36 |                     if let builders = icons[keyPath] as? [Attribute.ValueBuilder] {
 37 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:40:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 38 |                     }
 39 |
 40 |                 case let keyPath as KeyPath<Attributes.Surface, Attributes.Surface.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Surface, Style.Attributes.Surface.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Surface, Style.ValueBuilder<Style.Value<Style.Attributes.Surface>>>') always fails
 41 |                     if let builders = surfaces[keyPath] as? [Attribute.ValueBuilder] {
 42 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:45:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 43 |                     }
 44 |
 45 |                 case let keyPath as KeyPath<Attributes.Composition, Attributes.Composition.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Composition, Style.Attributes.Composition.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Composition, Style.ValueBuilder<Style.Value<Style.Attributes.Composition>>>') always fails
 46 |                     if let builders = compositions[keyPath] as? [Attribute.ValueBuilder] {
 47 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:50:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 48 |                     }
 49 |
 50 |                 case let keyPath as KeyPath<Attributes.Accent, Attributes.Accent.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Accent, Style.Attributes.Accent.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Accent, Style.ValueBuilder<Style.Value<Style.Attributes.Accent>>>') always fails
 51 |                     if let builders = accents[keyPath] as? [Attribute.ValueBuilder] {
 52 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Builder.swift:55:34: warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 53 |                     }
 54 |
 55 |                 case let keyPath as KeyPath<Attributes.Shape, Attributes.Shape.ValueBuilder>:
    |                                  `- warning: cast from 'Attribute.ValueBuilderKeyPath' (aka 'KeyPath<Attribute, Style.ValueBuilder<Style.Value<Attribute>>>') to unrelated type 'KeyPath<Style.Attributes.Shape, Style.Attributes.Shape.ValueBuilder>' (aka 'KeyPath<Style.Attributes.Shape, Style.ValueBuilder<Style.Value<Style.Attributes.Shape>>>') always fails
 56 |                     if let builders = shapes[keyPath] as? [Attribute.ValueBuilder] {
 57 |                         return builders
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 21 |             switch Attribute.self {
 22 |
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:25:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 23 |                 case let key as Attributes.Number.Type: return numbers as? AttributeTypeCache<Attribute>
 24 |
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:27:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 25 |                 case let key as Attributes.Font.Type: return fonts as? AttributeTypeCache<Attribute>
 26 |
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:29:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 27 |                 case let key as Attributes.Icon.Type: return icons as? AttributeTypeCache<Attribute>
 28 |
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:31:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 29 |                 case let key as Attributes.Surface.Type: return surfaces as? AttributeTypeCache<Attribute>
 30 |
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:33:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 31 |                 case let key as Attributes.Composition.Type: return compositions as? AttributeTypeCache<Attribute>
 32 |
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:35:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 33 |                 case let key as Attributes.Accent.Type: return accents as? AttributeTypeCache<Attribute>
 34 |
 35 |                 case let key as Attributes.Shape.Type: return shapes as? AttributeTypeCache<Attribute>
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 36 |
 37 |                 default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 44 |             switch Attribute.self {
 45 |
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:48:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 46 |                 case let key as Attributes.Number.Type: numbers = .init()
 47 |
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:50:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 48 |                 case let key as Attributes.Font.Type: fonts = .init()
 49 |
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 51 |
 52 |                 case let key as Attributes.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:52:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 50 |                 case let key as Attributes.Icon.Type: icons = .init()
 51 |
 52 |                 case let key as Attributes.Surface.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 53 |                     compositions = .init()
 54 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:56:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 54 |                     surfaces = .init()
 55 |
 56 |                 case let key as Attributes.Composition.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 57 |                     compositions = .init()
 58 |                     surfaces = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:60:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 58 |                     surfaces = .init()
 59 |
 60 |                 case let key as Attributes.Accent.Type:
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 61 |                     accents = .init()
 62 |                     compositions = .init()
/Users/admin/builder/spi-builder-workspace/Sources/1-Base/Container/Style+Cache.swift:65:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 63 |                     surfaces = .init()
 64 |
 65 |                 case let key as Attributes.Shape.Type: shapes = .init()
    |                          `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
 66 |
 67 |                 default: fatalError("Cache is not setup properly.")
[40/76] Compiling SnapStyleBase Accent.Value.swift
[41/76] Compiling SnapStyleBase Style.Value.swift
[42/76] Compiling SnapStyleBase StyleAttribute.swift
[43/76] Emitting module SnapCore
[44/76] Compiling SnapCore ScrollViewWith.swift
[45/76] Compiling SnapCore ScrollViewWithBottomView.swift
[46/76] Compiling SnapCore FontDesign+Codable.swift
[47/76] Compiling SnapCore View+enabled.swift
[48/76] Compiling SnapCore GeometryReader+PreferenceKey.swift
[49/76] Compiling SnapCore SystemColorScheme.swift
[53/76] Compiling SnapCore UIFont+preferredFont.swift
[54/76] Compiling SnapStyleBase View+UpdateModifier.swift
[77/84] Compiling SnapStyleComponents Structure+Description.swift
[78/84] Compiling SnapStyleComponents Padding.swift
[79/84] Compiling SnapStyleComponents Element.swift
[80/84] Compiling SnapStyleComponents ContainerStack.swift
[81/84] Compiling SnapStyleComponents ContainerDefinition.swift
[82/84] Emitting module SnapStyleComponents
[83/84] Compiling SnapStyleComponents Container.swift
[84/84] Compiling SnapStyleComponents ComponentDefinition.swift
[85/97] Compiling SnapStyleDefinitions Shape+Definitons.swift
[86/98] Compiling SnapStyleDefinitions Padding+Definitions.swift
[87/98] Compiling SnapStyleDefinitions Icon+Definitions.swift
[88/98] Compiling SnapStyleDefinitions Number+Definitions.swift
[89/98] Compiling SnapStyleDefinitions Context+Container.swift
[90/98] Compiling SnapStyleDefinitions Context+Accent.swift
[91/98] Compiling SnapStyleDefinitions Context+Component.swift
[92/98] Compiling SnapStyleDefinitions Font+Definitions.swift
[93/98] Emitting module SnapStyleDefinitions
[94/98] Compiling SnapStyleDefinitions Accent+Definitions.swift
[95/98] Compiling SnapStyleDefinitions Components.swift
[96/98] Compiling SnapStyleDefinitions Composition+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/3-Definitions/Composition+Definitions.swift:53:45: error: value of type 'Style.ComponentDefinition' has no member 'state'
 51 |         .builder { context in
 52 | #if os(macOS)
 53 |             return switch context.component.state {
    |                                             `- error: value of type 'Style.ComponentDefinition' has no member 'state'
 54 |                 case .disabled:
 55 |                         .definition(.layers([
[97/98] Compiling SnapStyleDefinitions Container+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/3-Definitions/Composition+Definitions.swift:53:45: error: value of type 'Style.ComponentDefinition' has no member 'state'
 51 |         .builder { context in
 52 | #if os(macOS)
 53 |             return switch context.component.state {
    |                                             `- error: value of type 'Style.ComponentDefinition' has no member 'state'
 54 |                 case .disabled:
 55 |                         .definition(.layers([
[98/98] Compiling SnapStyleDefinitions Surface+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/3-Definitions/Surface+Definitions.swift:106:17: warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
104 |             let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
105 |             let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
106 |             let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
    |                 `- warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
107 |
108 |             return .definition(.any(AnyShapeStyle(
/Users/admin/builder/spi-builder-workspace/Sources/3-Definitions/Surface+Definitions.swift:131:17: warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
129 |
130 |             let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
131 |             let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
    |                 `- warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 |             let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
133 |
BUILD FAILURE 6.2 macosSpm