The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SwiftSafeUI, reference main (06ca25), with Swift 6.1 for macOS (SPM) on 17 May 2025 13:28:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BaherTamer/SwiftSafeUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BaherTamer/SwiftSafeUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 06ca253 Version: 1.7.0 (#18)
Cloned https://github.com/BaherTamer/SwiftSafeUI.git
Revision (git rev-parse @):
06ca2530730070c5624a94aeca550c797c391fdb
SUCCESS checkout https://github.com/BaherTamer/SwiftSafeUI.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftsafeui",
      "name": "SwiftSafeUI",
      "url": "https://github.com/BaherTamer/SwiftSafeUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSafeUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/BaherTamer/SwiftSafeUI.git
[1/15206] Fetching swiftsafeui
Fetched https://github.com/BaherTamer/SwiftSafeUI.git from cache (1.76s)
Creating working copy for https://github.com/BaherTamer/SwiftSafeUI.git
Working copy of https://github.com/BaherTamer/SwiftSafeUI.git resolved at main (06ca253)
warning: '.resolve-product-dependencies': dependency 'swiftsafeui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BaherTamer/SwiftSafeUI.git
https://github.com/BaherTamer/SwiftSafeUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftSafeUI",
  "name" : "SwiftSafeUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSafeUI",
      "targets" : [
        "SwiftSafeUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSafeUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSafeUI",
      "path" : "Sources/SwiftSafeUI",
      "product_memberships" : [
        "SwiftSafeUI"
      ],
      "sources" : [
        "Deprecation Handlers/Environment Values /SafeDismiss.swift",
        "Deprecation Handlers/Environment Values /SafeIsPresented.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityActivationPoint.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityAddTraits.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityHidden.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityHint.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityIdentifier.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityInputLabels.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityLabel.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityRemoveTraits.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilitySortPriority.swift",
        "Deprecation Handlers/Modifiers/Accessibility/SafeAccessibilityValue.swift",
        "Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift",
        "Deprecation Handlers/Modifiers/Appearance/SafeForegroundColor.swift",
        "Deprecation Handlers/Modifiers/Appearance/SafeOverlay.swift",
        "Deprecation Handlers/Modifiers/Appearance/SafeTintColor.swift",
        "Deprecation Handlers/Modifiers/Auxiliary View/SafeNavigationBarHidden.swift",
        "Deprecation Handlers/Modifiers/Auxiliary View/SafeNavigationBarItems.swift",
        "Deprecation Handlers/Modifiers/Auxiliary View/SafeNavigationBarLeadingItem.swift",
        "Deprecation Handlers/Modifiers/Auxiliary View/SafeNavigationBarTitle.swift",
        "Deprecation Handlers/Modifiers/Auxiliary View/SafeNavigationBarTrailingItem.swift",
        "Deprecation Handlers/Modifiers/Drawing & Graphics/SafeMask.swift",
        "Deprecation Handlers/Modifiers/Input & Event/SafeFocusable.swift",
        "Deprecation Handlers/Modifiers/Input & Event/SafeOnChange.swift",
        "Deprecation Handlers/Modifiers/Layout/SafeIgnoreSafeArea.swift",
        "Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift",
        "Deprecation Handlers/Modifiers/Search/SafeSearchable.swift",
        "Deprecation Handlers/Modifiers/Text & Symbol/SafeAutocapitalization.swift",
        "Deprecation Handlers/Views/SafeNavigationView.swift",
        "Deprecation Handlers/Views/SafeScrollView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module SwiftSafeUI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
[4/33] Compiling SwiftSafeUI SafeNavigationBarLeadingItem.swift
[5/33] Compiling SwiftSafeUI SafeNavigationBarTitle.swift
[6/33] Compiling SwiftSafeUI SafeNavigationBarTrailingItem.swift
[7/33] Compiling SwiftSafeUI SafeAutocapitalization.swift
[8/33] Compiling SwiftSafeUI SafeNavigationView.swift
[9/33] Compiling SwiftSafeUI SafeScrollView.swift
[10/33] Compiling SwiftSafeUI SafeAccessibilityRemoveTraits.swift
[11/33] Compiling SwiftSafeUI SafeAccessibilitySortPriority.swift
[12/33] Compiling SwiftSafeUI SafeAccessibilityValue.swift
[13/33] Compiling SwiftSafeUI SafeTintColor.swift
[14/33] Compiling SwiftSafeUI SafeNavigationBarHidden.swift
[15/33] Compiling SwiftSafeUI SafeNavigationBarItems.swift
[16/33] Compiling SwiftSafeUI SafeAccessibilityIdentifier.swift
[17/33] Compiling SwiftSafeUI SafeAccessibilityInputLabels.swift
[18/33] Compiling SwiftSafeUI SafeAccessibilityLabel.swift
[19/33] Compiling SwiftSafeUI SafeDismiss.swift
[20/33] Compiling SwiftSafeUI SafeIsPresented.swift
[21/33] Compiling SwiftSafeUI SafeAccessibilityActivationPoint.swift
[22/33] Compiling SwiftSafeUI SafeMask.swift
[23/33] Compiling SwiftSafeUI SafeFocusable.swift
[24/33] Compiling SwiftSafeUI SafeOnChange.swift
[25/33] Compiling SwiftSafeUI SafeAccessibilityAddTraits.swift
[26/33] Compiling SwiftSafeUI SafeAccessibilityHidden.swift
[27/33] Compiling SwiftSafeUI SafeAccessibilityHint.swift
[28/33] Compiling SwiftSafeUI SafeBackground.swift
[29/33] Compiling SwiftSafeUI SafeForegroundColor.swift
[30/33] Compiling SwiftSafeUI SafeOverlay.swift
[31/33] Compiling SwiftSafeUI SafeIgnoreSafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
[32/33] Compiling SwiftSafeUI SafePresentationBackground.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
[33/33] Compiling SwiftSafeUI SafeSearchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/29] Emitting module SwiftSafeUI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
[3/32] Compiling SwiftSafeUI SafeTintColor.swift
[4/32] Compiling SwiftSafeUI SafeNavigationBarHidden.swift
[5/32] Compiling SwiftSafeUI SafeNavigationBarItems.swift
[6/32] Compiling SwiftSafeUI SafeNavigationBarLeadingItem.swift
[7/32] Compiling SwiftSafeUI SafeNavigationBarTitle.swift
[8/32] Compiling SwiftSafeUI SafeNavigationBarTrailingItem.swift
[9/32] Compiling SwiftSafeUI SafeAccessibilityRemoveTraits.swift
[10/32] Compiling SwiftSafeUI SafeAccessibilitySortPriority.swift
[11/32] Compiling SwiftSafeUI SafeAccessibilityValue.swift
[12/32] Compiling SwiftSafeUI SafeDismiss.swift
[13/32] Compiling SwiftSafeUI SafeIsPresented.swift
[14/32] Compiling SwiftSafeUI SafeAccessibilityActivationPoint.swift
[15/32] Compiling SwiftSafeUI SafeAccessibilityAddTraits.swift
[16/32] Compiling SwiftSafeUI SafeAccessibilityHidden.swift
[17/32] Compiling SwiftSafeUI SafeAccessibilityHint.swift
[18/32] Compiling SwiftSafeUI SafeAccessibilityIdentifier.swift
[19/32] Compiling SwiftSafeUI SafeAccessibilityInputLabels.swift
[20/32] Compiling SwiftSafeUI SafeAccessibilityLabel.swift
[21/32] Compiling SwiftSafeUI SafeIgnoreSafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
[22/32] Compiling SwiftSafeUI SafePresentationBackground.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
[23/32] Compiling SwiftSafeUI SafeSearchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:82:42: error: cannot find type 'UIView' in scope
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
   |                                          `- error: cannot find type 'UIView' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:83:23: error: method does not override any method from its superclass
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:42: error: cannot find type 'UIView' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:89:30: error: cannot find type 'Context' in scope
87 |     }
88 |
89 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
90 |         BackgroundRemovalView()
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:33: error: cannot find type 'UIView' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:93:50: error: cannot find type 'Context' in scope
91 |     }
92 |
93 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:81:42: error: cannot find type 'UIViewRepresentable' in scope
79 |
80 | /// A `UIView` that clears the background color of its superview’s superview to prevent default modal backgrounds.
81 | private struct ClearModalBackgroundView: UIViewRepresentable {
   |                                          `- error: cannot find type 'UIViewRepresentable' in scope
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:63:14: error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
61 |                 self
62 |             }
63 |             .safeBackground(
   |              `- error: instance method 'safeBackground(alignment:content:)' requires that 'ClearModalBackgroundView' conform to 'View'
64 |                 content: ClearModalBackgroundView.init
65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Appearance/SafeBackground.swift:45:29: note: where 'Content' = 'ClearModalBackgroundView'
43 |     /// - Returns: A view that uses the specified content as a background.
44 |     @ViewBuilder
45 |     nonisolated public func safeBackground<Content: View>(
   |                             `- note: where 'Content' = 'ClearModalBackgroundView'
46 |         alignment: Alignment = .center,
47 |         @ViewBuilder content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:84:13: error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'BackgroundRemovalView' because it has no superclass
85 |             superview?.superview?.backgroundColor = .clear
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:13: error: cannot find 'superview' in scope
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSafeUI/Deprecation Handlers/Modifiers/Presentation/SafePresentationBackground.swift:85:54: error: cannot infer contextual base in reference to member 'clear'
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
85 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
86 |         }
87 |     }
[24/32] Compiling SwiftSafeUI SafeBackground.swift
[25/32] Compiling SwiftSafeUI SafeForegroundColor.swift
[26/32] Compiling SwiftSafeUI SafeOverlay.swift
[27/32] Compiling SwiftSafeUI SafeMask.swift
[28/32] Compiling SwiftSafeUI SafeFocusable.swift
[29/32] Compiling SwiftSafeUI SafeOnChange.swift
[30/32] Compiling SwiftSafeUI SafeAutocapitalization.swift
[31/32] Compiling SwiftSafeUI SafeNavigationView.swift
[32/32] Compiling SwiftSafeUI SafeScrollView.swift
BUILD FAILURE 6.1 macosSpm