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 1.7.0 (60470a), with Swift 6.0 for macOS (SPM) on 17 May 2025 13:29:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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: 1.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BaherTamer/SwiftSafeUI
 * tag               1.7.0      -> FETCH_HEAD
HEAD is now at 60470a6 chore: disable safe navigation bar items modifiers on macos
Cloned https://github.com/BaherTamer/SwiftSafeUI.git
Revision (git rev-parse @):
60470a622c5026b769435a5a8d97f4b942991c26
SUCCESS checkout https://github.com/BaherTamer/SwiftSafeUI.git at 1.7.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BaherTamer/SwiftSafeUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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 SafeMask.swift
[5/33] Compiling SwiftSafeUI SafeFocusable.swift
[6/33] Compiling SwiftSafeUI SafeOnChange.swift
[7/33] Compiling SwiftSafeUI SafeBackground.swift
[8/33] Compiling SwiftSafeUI SafeForegroundColor.swift
[9/33] Compiling SwiftSafeUI SafeOverlay.swift
[10/33] Compiling SwiftSafeUI SafeAutocapitalization.swift
[11/33] Compiling SwiftSafeUI SafeNavigationView.swift
[12/33] Compiling SwiftSafeUI SafeScrollView.swift
[13/33] Compiling SwiftSafeUI SafeAccessibilityIdentifier.swift
[14/33] Compiling SwiftSafeUI SafeAccessibilityInputLabels.swift
[15/33] Compiling SwiftSafeUI SafeAccessibilityLabel.swift
[16/33] Compiling SwiftSafeUI SafeAccessibilityRemoveTraits.swift
[17/33] Compiling SwiftSafeUI SafeAccessibilitySortPriority.swift
[18/33] Compiling SwiftSafeUI SafeAccessibilityValue.swift
[19/33] Compiling SwiftSafeUI SafeNavigationBarLeadingItem.swift
[20/33] Compiling SwiftSafeUI SafeNavigationBarTitle.swift
[21/33] Compiling SwiftSafeUI SafeNavigationBarTrailingItem.swift
[22/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' members cannot be referenced in a root class
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' members cannot be referenced in a root class
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/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' members cannot be referenced in a root class
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' members cannot be referenced in a root class
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/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' members cannot be referenced in a root class
82 |     private class BackgroundRemovalView: UIView {
83 |         override func didMoveToWindow() {
84 |             super.didMoveToWindow()
   |             `- error: 'super' members cannot be referenced in a root class
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 |     }
[25/33] Compiling SwiftSafeUI SafeTintColor.swift
[26/33] Compiling SwiftSafeUI SafeNavigationBarHidden.swift
[27/33] Compiling SwiftSafeUI SafeNavigationBarItems.swift
[28/33] Compiling SwiftSafeUI SafeAccessibilityAddTraits.swift
[29/33] Compiling SwiftSafeUI SafeAccessibilityHidden.swift
[30/33] Compiling SwiftSafeUI SafeAccessibilityHint.swift
[31/33] Compiling SwiftSafeUI SafeDismiss.swift
[32/33] Compiling SwiftSafeUI SafeIsPresented.swift
[33/33] Compiling SwiftSafeUI SafeAccessibilityActivationPoint.swift
BUILD FAILURE 6.0 macosSpm