Build Information
Failed to build snap-style, reference main (657475
), with Swift 6.2 (beta) for macOS (SPM) on 12 Sep 2025 14:15:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as Keys.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 Keys.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Number.Type: numbers = .init()
47 |
48 | case let key as Keys.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 Keys.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Font.Type: fonts = .init()
49 |
50 | case let key as Keys.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 Keys.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Icon.Type: icons = .init()
51 |
52 | case let key as Keys.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/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 Keys.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/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 Keys.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/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 Keys.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/78] Compiling SnapCore WeakRef.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:25:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Number, Style.Keys.Number.ValueBuilder>' (aka 'KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>') always fails
23 | switch keyPath {
24 |
25 | case let keyPath as KeyPath<Keys.Number, Keys.Number.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Number, Style.Keys.Number.ValueBuilder>' (aka 'KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>') always fails
26 | if let builders = numbers[keyPath] as? [Key.ValueBuilder] {
27 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:30:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Font, Style.Keys.Font.ValueBuilder>' (aka 'KeyPath<Style.Keys.Font, Style.ValueBuilder<Style.Value<Style.Keys.Font>>>') always fails
28 | }
29 |
30 | case let keyPath as KeyPath<Keys.Font, Keys.Font.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Font, Style.Keys.Font.ValueBuilder>' (aka 'KeyPath<Style.Keys.Font, Style.ValueBuilder<Style.Value<Style.Keys.Font>>>') always fails
31 | if let builders = fonts[keyPath] as? [Key.ValueBuilder] {
32 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:35:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Icon, Style.Keys.Icon.ValueBuilder>' (aka 'KeyPath<Style.Keys.Icon, Style.ValueBuilder<Style.Value<Style.Keys.Icon>>>') always fails
33 | }
34 |
35 | case let keyPath as KeyPath<Keys.Icon, Keys.Icon.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Icon, Style.Keys.Icon.ValueBuilder>' (aka 'KeyPath<Style.Keys.Icon, Style.ValueBuilder<Style.Value<Style.Keys.Icon>>>') always fails
36 | if let builders = icons[keyPath] as? [Key.ValueBuilder] {
37 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:40:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Surface, Style.Keys.Surface.ValueBuilder>' (aka 'KeyPath<Style.Keys.Surface, Style.ValueBuilder<Style.Value<Style.Keys.Surface>>>') always fails
38 | }
39 |
40 | case let keyPath as KeyPath<Keys.Surface, Keys.Surface.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Surface, Style.Keys.Surface.ValueBuilder>' (aka 'KeyPath<Style.Keys.Surface, Style.ValueBuilder<Style.Value<Style.Keys.Surface>>>') always fails
41 | if let builders = surfaces[keyPath] as? [Key.ValueBuilder] {
42 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:45:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Composition, Style.Keys.Composition.ValueBuilder>' (aka 'KeyPath<Style.Keys.Composition, Style.ValueBuilder<Style.Value<Style.Keys.Composition>>>') always fails
43 | }
44 |
45 | case let keyPath as KeyPath<Keys.Composition, Keys.Composition.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Composition, Style.Keys.Composition.ValueBuilder>' (aka 'KeyPath<Style.Keys.Composition, Style.ValueBuilder<Style.Value<Style.Keys.Composition>>>') always fails
46 | if let builders = compositions[keyPath] as? [Key.ValueBuilder] {
47 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:50:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Accent, Style.Keys.Accent.ValueBuilder>' (aka 'KeyPath<Style.Keys.Accent, Style.ValueBuilder<Style.Value<Style.Keys.Accent>>>') always fails
48 | }
49 |
50 | case let keyPath as KeyPath<Keys.Accent, Keys.Accent.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Accent, Style.Keys.Accent.ValueBuilder>' (aka 'KeyPath<Style.Keys.Accent, Style.ValueBuilder<Style.Value<Style.Keys.Accent>>>') always fails
51 | if let builders = accents[keyPath] as? [Key.ValueBuilder] {
52 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:55:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Shape, Style.Keys.Shape.ValueBuilder>' (aka 'KeyPath<Style.Keys.Shape, Style.ValueBuilder<Style.Value<Style.Keys.Shape>>>') always fails
53 | }
54 |
55 | case let keyPath as KeyPath<Keys.Shape, Keys.Shape.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Shape, Style.Keys.Shape.ValueBuilder>' (aka 'KeyPath<Style.Keys.Shape, Style.ValueBuilder<Style.Value<Style.Keys.Shape>>>') always fails
56 | if let builders = shapes[keyPath] as? [Key.ValueBuilder] {
57 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
21 | switch Key.self {
22 |
23 | case let key as Keys.Number.Type: return numbers as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 | case let key as Keys.Font.Type: return fonts as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Number.Type: return numbers as? KeyTypeCache<Key>
24 |
25 | case let key as Keys.Font.Type: return fonts as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
26 |
27 | case let key as Keys.Icon.Type: return icons as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Font.Type: return fonts as? KeyTypeCache<Key>
26 |
27 | case let key as Keys.Icon.Type: return icons as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
28 |
29 | case let key as Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Icon.Type: return icons as? KeyTypeCache<Key>
28 |
29 | case let key as Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
30 |
31 | case let key as Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
30 |
31 | case let key as Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
32 |
33 | case let key as Keys.Accent.Type: return accents as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
32 |
33 | case let key as Keys.Accent.Type: return accents as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
34 |
35 | case let key as Keys.Shape.Type: return shapes as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Accent.Type: return accents as? KeyTypeCache<Key>
34 |
35 | case let key as Keys.Shape.Type: return shapes as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as Keys.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 Keys.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Number.Type: numbers = .init()
47 |
48 | case let key as Keys.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 Keys.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Font.Type: fonts = .init()
49 |
50 | case let key as Keys.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 Keys.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Icon.Type: icons = .init()
51 |
52 | case let key as Keys.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/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 Keys.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/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 Keys.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/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 Keys.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.")
[41/78] Compiling SnapCore AnyLabelStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:25:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Number, Style.Keys.Number.ValueBuilder>' (aka 'KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>') always fails
23 | switch keyPath {
24 |
25 | case let keyPath as KeyPath<Keys.Number, Keys.Number.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Number, Style.Keys.Number.ValueBuilder>' (aka 'KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>') always fails
26 | if let builders = numbers[keyPath] as? [Key.ValueBuilder] {
27 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:30:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Font, Style.Keys.Font.ValueBuilder>' (aka 'KeyPath<Style.Keys.Font, Style.ValueBuilder<Style.Value<Style.Keys.Font>>>') always fails
28 | }
29 |
30 | case let keyPath as KeyPath<Keys.Font, Keys.Font.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Font, Style.Keys.Font.ValueBuilder>' (aka 'KeyPath<Style.Keys.Font, Style.ValueBuilder<Style.Value<Style.Keys.Font>>>') always fails
31 | if let builders = fonts[keyPath] as? [Key.ValueBuilder] {
32 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:35:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Icon, Style.Keys.Icon.ValueBuilder>' (aka 'KeyPath<Style.Keys.Icon, Style.ValueBuilder<Style.Value<Style.Keys.Icon>>>') always fails
33 | }
34 |
35 | case let keyPath as KeyPath<Keys.Icon, Keys.Icon.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Icon, Style.Keys.Icon.ValueBuilder>' (aka 'KeyPath<Style.Keys.Icon, Style.ValueBuilder<Style.Value<Style.Keys.Icon>>>') always fails
36 | if let builders = icons[keyPath] as? [Key.ValueBuilder] {
37 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:40:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Surface, Style.Keys.Surface.ValueBuilder>' (aka 'KeyPath<Style.Keys.Surface, Style.ValueBuilder<Style.Value<Style.Keys.Surface>>>') always fails
38 | }
39 |
40 | case let keyPath as KeyPath<Keys.Surface, Keys.Surface.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Surface, Style.Keys.Surface.ValueBuilder>' (aka 'KeyPath<Style.Keys.Surface, Style.ValueBuilder<Style.Value<Style.Keys.Surface>>>') always fails
41 | if let builders = surfaces[keyPath] as? [Key.ValueBuilder] {
42 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:45:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Composition, Style.Keys.Composition.ValueBuilder>' (aka 'KeyPath<Style.Keys.Composition, Style.ValueBuilder<Style.Value<Style.Keys.Composition>>>') always fails
43 | }
44 |
45 | case let keyPath as KeyPath<Keys.Composition, Keys.Composition.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Composition, Style.Keys.Composition.ValueBuilder>' (aka 'KeyPath<Style.Keys.Composition, Style.ValueBuilder<Style.Value<Style.Keys.Composition>>>') always fails
46 | if let builders = compositions[keyPath] as? [Key.ValueBuilder] {
47 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:50:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Accent, Style.Keys.Accent.ValueBuilder>' (aka 'KeyPath<Style.Keys.Accent, Style.ValueBuilder<Style.Value<Style.Keys.Accent>>>') always fails
48 | }
49 |
50 | case let keyPath as KeyPath<Keys.Accent, Keys.Accent.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Accent, Style.Keys.Accent.ValueBuilder>' (aka 'KeyPath<Style.Keys.Accent, Style.ValueBuilder<Style.Value<Style.Keys.Accent>>>') always fails
51 | if let builders = accents[keyPath] as? [Key.ValueBuilder] {
52 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Builder.swift:55:34: warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Shape, Style.Keys.Shape.ValueBuilder>' (aka 'KeyPath<Style.Keys.Shape, Style.ValueBuilder<Style.Value<Style.Keys.Shape>>>') always fails
53 | }
54 |
55 | case let keyPath as KeyPath<Keys.Shape, Keys.Shape.ValueBuilder>:
| `- warning: cast from 'Key.ValueBuilderKeyPath' (aka 'KeyPath<Key, Style.ValueBuilder<Style.Value<Key>>>') to unrelated type 'KeyPath<Style.Keys.Shape, Style.Keys.Shape.ValueBuilder>' (aka 'KeyPath<Style.Keys.Shape, Style.ValueBuilder<Style.Value<Style.Keys.Shape>>>') always fails
56 | if let builders = shapes[keyPath] as? [Key.ValueBuilder] {
57 | return builders
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Cache.swift:23:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
21 | switch Key.self {
22 |
23 | case let key as Keys.Number.Type: return numbers as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 | case let key as Keys.Font.Type: return fonts as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Number.Type: return numbers as? KeyTypeCache<Key>
24 |
25 | case let key as Keys.Font.Type: return fonts as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
26 |
27 | case let key as Keys.Icon.Type: return icons as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Font.Type: return fonts as? KeyTypeCache<Key>
26 |
27 | case let key as Keys.Icon.Type: return icons as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
28 |
29 | case let key as Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Icon.Type: return icons as? KeyTypeCache<Key>
28 |
29 | case let key as Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
30 |
31 | case let key as Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Surface.Type: return surfaces as? KeyTypeCache<Key>
30 |
31 | case let key as Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
32 |
33 | case let key as Keys.Accent.Type: return accents as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Composition.Type: return compositions as? KeyTypeCache<Key>
32 |
33 | case let key as Keys.Accent.Type: return accents as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
34 |
35 | case let key as Keys.Shape.Type: return shapes as? KeyTypeCache<Key>
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Accent.Type: return accents as? KeyTypeCache<Key>
34 |
35 | case let key as Keys.Shape.Type: return shapes as? KeyTypeCache<Key>
| `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
36 |
37 | default: fatalError("Cache is not setup properly.")
/Users/admin/builder/spi-builder-workspace/Sources/Base/Container/Style+Cache.swift:46:26: warning: immutable value 'key' was never used; consider replacing with '_' or removing it [#no-usage]
44 | switch Key.self {
45 |
46 | case let key as Keys.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 Keys.Font.Type: fonts = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Number.Type: numbers = .init()
47 |
48 | case let key as Keys.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 Keys.Icon.Type: icons = .init()
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Font.Type: fonts = .init()
49 |
50 | case let key as Keys.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 Keys.Surface.Type:
/Users/admin/builder/spi-builder-workspace/Sources/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 Keys.Icon.Type: icons = .init()
51 |
52 | case let key as Keys.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/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 Keys.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/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 Keys.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/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 Keys.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.")
[42/78] Emitting module SnapCore
[43/80] Compiling SnapCore PickerTapable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/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 '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/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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[44/80] Compiling SnapCore Angle+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/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 '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/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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[45/80] Compiling SnapCore FontDesign+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Base/Keys/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 '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/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 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
67 |
68 | }
[46/80] Compiling SnapCore CGFloat+Rounding.swift
[47/80] Compiling SnapCore Array+Unique.swift
[48/80] Compiling SnapCore EmptyNoSpaceView.swift
[49/80] Compiling SnapStyleBase Style.Value.swift
[50/80] Compiling SnapStyleBase StyleKey.swift
[51/80] Compiling SnapCore SemanticVersion.swift
[52/80] Compiling SnapCore ToggleTapable.swift
[53/80] Compiling SnapCore UIFont+preferredFont.swift
[81/86] Compiling SnapStyleComponents Structure+Description.swift
[82/86] Compiling SnapStyleComponents Element.swift
[83/86] Compiling SnapStyleComponents Component.swift
[84/86] Compiling SnapStyleComponents ComponentDefinition.swift
[85/86] Emitting module SnapStyleComponents
[86/86] Compiling SnapStyleComponents ComponentStack.swift
[87/97] Compiling SnapStyleDefinitions ShapeKey+Definitons.swift
[88/97] Compiling SnapStyleDefinitions Padding+Definitions.swift
[89/98] Compiling SnapStyleDefinitions Context+Component.swift
[90/98] Compiling SnapStyleDefinitions IconKey+Definitions.swift
[91/98] Compiling SnapStyleDefinitions CompositionKey+Definitions.swift
[92/98] Compiling SnapStyleDefinitions Context+Accent.swift
[93/98] Compiling SnapStyleDefinitions NumberKey+Definitions.swift
[94/98] Compiling SnapStyleDefinitions FontKey+Definitions.swift
[95/98] Emitting module SnapStyleDefinitions
[96/98] Compiling SnapStyleDefinitions AccentKey+Definitions.swift
[97/98] Compiling SnapStyleDefinitions Components.swift
[98/98] Compiling SnapStyleDefinitions SurfaceKey+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Definitions/SurfaceKey+Definitions.swift:106:17: warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
104 | let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
105 | let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
106 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
| `- warning: initialization of immutable value 'contrast' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
107 |
108 | return .definition(.any(AnyShapeStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Definitions/SurfaceKey+Definitions.swift:131:17: warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
129 |
130 | let base = context.surface(for: accentBase)?.resolvedColor ?? .clear
131 | let complementary = context.surface(for: accentComplementary)?.resolvedColor ?? .clear
| `- warning: initialization of immutable value 'complementary' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | let contrast = context.surface(for: accentContrast)?.resolvedColor ?? .clear
133 |
[99/113] Compiling SnapStyleKeyModifier BackgroundModifier.swift
[100/113] Compiling SnapStyleKeyModifier ListSectionSpacingModifier.swift
[101/113] Compiling SnapStyleKeyModifier ModifyWithModifier.swift
[102/113] Compiling SnapStyleKeyModifier SafeAreaPaddingModifier.swift
[103/113] Compiling SnapStyleKeyModifier FrameModifier.swift
[104/113] Compiling SnapStyleKeyModifier ListRowInsetsModifier.swift
[105/113] Compiling SnapStyleKeyModifier ShapeModifier.swift
[106/113] Compiling SnapStyleKeyModifier PaddingModifier.swift
[107/114] Compiling SnapStyleKeyModifier Context+FontDesign.swift
[108/114] Compiling SnapStyleKeyModifier Context+FontWidth.swift
[109/114] Compiling SnapStyleKeyModifier FontModifier.swift
[110/114] Compiling SnapStyleKeyModifier ContentMarginsModifier.swift
[111/114] Emitting module SnapStyleKeyModifier
[112/114] Compiling SnapStyleKeyModifier AccentColorModifier.swift
[113/114] Compiling SnapStyleKeyModifier CompositionModifier.swift
[114/114] Compiling SnapStyleKeyModifier ForegroundModifier.swift
[115/140] Emitting module SnapStyleLayout
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[116/142] Compiling SnapStyleLayout StyleButtonInteractionState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
macro expansion #Preview:22:42: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:118:2: note: expanded code originates here
105 | // MARK: - Preview
106 |
107 | #Preview {
| `- note: in expansion of macro 'Preview' here
108 | @Previewable @State var state: Style.Component.InteractionState = .normal
109 |
:
116 | }
117 |
118 | }
+--- macro expansion #Preview --------------------------------------
|20 |
|21 | } content: {
|22 | Text("Button: \n\(state)")
| | `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
|23 | .padding()
|24 | .background(state == .normal ? .yellow : .orange)
+-------------------------------------------------------------------
119 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[117/142] Compiling SnapStyleLayout StyleIcon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
macro expansion #Preview:22:42: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:118:2: note: expanded code originates here
105 | // MARK: - Preview
106 |
107 | #Preview {
| `- note: in expansion of macro 'Preview' here
108 | @Previewable @State var state: Style.Component.InteractionState = .normal
109 |
:
116 | }
117 |
118 | }
+--- macro expansion #Preview --------------------------------------
|20 |
|21 | } content: {
|22 | Text("Button: \n\(state)")
| | `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
|23 | .padding()
|24 | .background(state == .normal ? .yellow : .orange)
+-------------------------------------------------------------------
119 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[118/142] Compiling SnapStyleLayout StyleNavigationBarModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[119/142] Compiling SnapStyleLayout StyleScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[120/142] Compiling SnapStyleLayout StyleScreenConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[121/142] Compiling SnapStyleLayout StyleButton+Variant.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[122/142] Compiling SnapStyleLayout StyleButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[123/142] Compiling SnapStyleLayout StyleList.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[124/142] Compiling SnapStyleLayout StyleListIconWidthSynchronisation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[125/142] Compiling SnapStyleLayout StyleListRow+Navigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[126/142] Compiling SnapStyleLayout StyleLazyHStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[127/142] Compiling SnapStyleLayout StyleLazyVStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[128/142] Compiling SnapStyleLayout StyleStack+Spacing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[129/142] Compiling SnapStyleLayout View+Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
macro expansion #Preview:22:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|20 | List {
|21 | Text("Normal List Row")
|22 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|23 | .style(component: .listRow, applyContainer: nil, state: .normal)
|24 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:28:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|26 | List {
|27 | Text("Highlighted List Row")
|28 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|29 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
|30 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:34:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|32 | List {
|33 | Text("Selected List Row")
|34 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|35 | .style(component: .listRow, applyContainer: nil, state: .selected)
|36 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:40:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|38 | List {
|39 | Text("Disabled List Row")
|40 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|41 | .style(component: .listRow, applyContainer: nil, state: .disabled)
|42 | }
+--------------------------------------------------------------------
75 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[130/142] Compiling SnapStyleLayout View+Element.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
macro expansion #Preview:22:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|20 | List {
|21 | Text("Normal List Row")
|22 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|23 | .style(component: .listRow, applyContainer: nil, state: .normal)
|24 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:28:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|26 | List {
|27 | Text("Highlighted List Row")
|28 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|29 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
|30 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:34:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|32 | List {
|33 | Text("Selected List Row")
|34 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|35 | .style(component: .listRow, applyContainer: nil, state: .selected)
|36 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:40:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|38 | List {
|39 | Text("Disabled List Row")
|40 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|41 | .style(component: .listRow, applyContainer: nil, state: .disabled)
|42 | }
+--------------------------------------------------------------------
75 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[131/142] Compiling SnapStyleLayout ListRowCompositionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
macro expansion #Preview:22:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|20 | List {
|21 | Text("Normal List Row")
|22 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|23 | .style(component: .listRow, applyContainer: nil, state: .normal)
|24 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:28:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|26 | List {
|27 | Text("Highlighted List Row")
|28 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|29 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
|30 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:34:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|32 | List {
|33 | Text("Selected List Row")
|34 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|35 | .style(component: .listRow, applyContainer: nil, state: .selected)
|36 | }
+--------------------------------------------------------------------
75 |
macro expansion #Preview:40:26: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:74:2: note: expanded code originates here
46 | // MARK: - Preview
47 |
48 | #Preview {
| `- note: in expansion of macro 'Preview' here
49 |
50 | List {
:
72 | }
73 |
74 | }
+--- macro expansion #Preview ---------------------------------------
|38 | List {
|39 | Text("Disabled List Row")
|40 | .style(listRowBackground: \.listRow)
| | `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
|41 | .style(component: .listRow, applyContainer: nil, state: .disabled)
|42 | }
+--------------------------------------------------------------------
75 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[132/142] Compiling SnapStyleLayout StyleStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[133/142] Compiling SnapStyleLayout StyleSpacer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[134/142] Compiling SnapStyleLayout View+stretch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[135/142] Compiling SnapStyleLayout Environment+StyleScreen.swift
[136/142] Compiling SnapStyleLayout UIKitViewControllerHook.swift
[137/142] Compiling SnapStyleLayout ScreenInsetContainer.swift
[138/142] Compiling SnapStyleLayout StyleListRow+Variant.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow+Variant.swift:18:14: note: 'navigate(_:isPresented:)' declared here
16 |
17 | /// Navigation style that pushes a value.
18 | case navigate(_ value: SelectionValue, isPresented: Bool = false)
| `- note: 'navigate(_:isPresented:)' declared here
19 |
20 | /// Navigation style that executes an action.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[139/142] Compiling SnapStyleLayout StyleListRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow+Variant.swift:18:14: note: 'navigate(_:isPresented:)' declared here
16 |
17 | /// Navigation style that pushes a value.
18 | case navigate(_ value: SelectionValue, isPresented: Bool = false)
| `- note: 'navigate(_:isPresented:)' declared here
19 |
20 | /// Navigation style that executes an action.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[140/142] Compiling SnapStyleLayout StyleListSectionHeaderLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow.swift:140:44: warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
138 | switch variant {
139 | case .plain: break
140 | case .navigate(let _): break
| `- warning: enum case 'navigate' has 2 associated values; matching them as a tuple is deprecated [#deprecation]
141 | case .navigation(_): break
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/StyleListRow+Variant.swift:18:14: note: 'navigate(_:isPresented:)' declared here
16 |
17 | /// Navigation style that pushes a value.
18 | case navigate(_ value: SelectionValue, isPresented: Bool = false)
| `- note: 'navigate(_:isPresented:)' declared here
19 |
20 | /// Navigation style that executes an action.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[141/142] Compiling SnapStyleLayout StyleLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[142/142] Compiling SnapStyleLayout StyleShapeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:52:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
50 | List {
51 | Text("Normal List Row")
52 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
53 | .style(component: .listRow, applyContainer: nil, state: .normal)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:58:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
56 | List {
57 | Text("Highlighted List Row")
58 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
59 | .style(component: .listRow, applyContainer: nil, state: .highlighted)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:64:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
62 | List {
63 | Text("Selected List Row")
64 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
65 | .style(component: .listRow, applyContainer: nil, state: .selected)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/LayoutViews/List/ListRowCompositionModifier.swift:70:14: warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
68 | List {
69 | Text("Disabled List Row")
70 | .style(listRowBackground: \.listRow)
| `- warning: 'style(listRowBackground:)' is deprecated: `style(listRowBackground:)` is not recommended to use. Has issues with environment and does not properly animate component state changes. (iOS 18) - Should use `.styleListRowInsets(.zero)` instead and `.style(component: .listRow)` [#DeprecatedDeclaration]
71 | .style(component: .listRow, applyContainer: nil, state: .disabled)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Layout/StyleViews/StyleButtonInteractionState.swift:113:26: warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
111 |
112 | } content: {
113 | Text("Button: \n\(state)")
| `- warning: 'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible. [#DeprecatedDeclaration]
114 | .padding()
115 | .background(state == .normal ? .yellow : .orange)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[143/146] Compiling SnapStyleViews StyleFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/Container/StyleFlowLayout.swift:15:39: error: stored property '_style' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Environment<Style.ContextWrapper>'
13 | public struct StyleFlowLayout: Layout {
14 |
15 | @Environment(\.style) private var style
| `- error: stored property '_style' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Environment<Style.ContextWrapper>'
16 |
17 | private let spacing: Style.Keys.Number.ValueBuilderKeyPath?
/Users/admin/builder/spi-builder-workspace/Sources/Base/Context/ContextWrapper.swift:13:19: note: struct 'ContextWrapper' does not conform to the 'Sendable' protocol
11 | /// The `definition` contains the value generation logic and caches. It needs the `context` to produce the output.
12 | /// They are bundled to simplify value access by accessing a single entry from the environment.
13 | public struct ContextWrapper {
| `- note: struct 'ContextWrapper' does not conform to the 'Sendable' protocol
14 |
15 | package var definition: Style
/Users/admin/builder/spi-builder-workspace/Sources/Views/Container/StyleFlowLayout.swift:17:17: error: stored property 'spacing' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Style.Keys.Number.ValueBuilderKeyPath?' (aka 'Optional<KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>>')
15 | @Environment(\.style) private var style
16 |
17 | private let spacing: Style.Keys.Number.ValueBuilderKeyPath?
| `- error: stored property 'spacing' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Style.Keys.Number.ValueBuilderKeyPath?' (aka 'Optional<KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>>')
18 |
19 | public init(spacing: Style.Keys.Number.ValueBuilderKeyPath?) {
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[144/146] Compiling SnapStyleViews ScrollingHStack.swift
[145/146] Compiling SnapStyleViews CornerContainer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[146/146] Emitting module SnapStyleViews
/Users/admin/builder/spi-builder-workspace/Sources/Views/Container/StyleFlowLayout.swift:15:39: error: stored property '_style' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Environment<Style.ContextWrapper>'
13 | public struct StyleFlowLayout: Layout {
14 |
15 | @Environment(\.style) private var style
| `- error: stored property '_style' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Environment<Style.ContextWrapper>'
16 |
17 | private let spacing: Style.Keys.Number.ValueBuilderKeyPath?
/Users/admin/builder/spi-builder-workspace/Sources/Base/Context/ContextWrapper.swift:13:19: note: struct 'ContextWrapper' does not conform to the 'Sendable' protocol
11 | /// The `definition` contains the value generation logic and caches. It needs the `context` to produce the output.
12 | /// They are bundled to simplify value access by accessing a single entry from the environment.
13 | public struct ContextWrapper {
| `- note: struct 'ContextWrapper' does not conform to the 'Sendable' protocol
14 |
15 | package var definition: Style
/Users/admin/builder/spi-builder-workspace/Sources/Views/Container/StyleFlowLayout.swift:17:17: error: stored property 'spacing' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Style.Keys.Number.ValueBuilderKeyPath?' (aka 'Optional<KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>>')
15 | @Environment(\.style) private var style
16 |
17 | private let spacing: Style.Keys.Number.ValueBuilderKeyPath?
| `- error: stored property 'spacing' of 'Sendable'-conforming struct 'StyleFlowLayout' has non-sendable type 'Style.Keys.Number.ValueBuilderKeyPath?' (aka 'Optional<KeyPath<Style.Keys.Number, Style.ValueBuilder<Style.Value<Style.Keys.Number>>>>')
18 |
19 | public init(spacing: Style.Keys.Number.ValueBuilderKeyPath?) {
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
Fetching https://github.com/simonnickel/snap-foundation.git
[1/135] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.61s)
Fetching https://github.com/simonnickel/snap-core.git
[4/359] Fetching snap-core
Fetched https://github.com/simonnickel/snap-core.git from cache (0.77s)
Creating working copy for https://github.com/simonnickel/snap-core.git
Working copy of https://github.com/simonnickel/snap-core.git resolved at main (11e1cf4)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (04929cb)
BUILD FAILURE 6.2 macosSpm