Build Information
Failed to build AHDownloadButton with Swift 6.0 for watchOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme AHDownloadButton -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/HighlightableRoundedButton.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:11:41: error: cannot find type 'UIButton' in scope
final class HighlightableRoundedButton: UIButton {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:39:18: error: property does not override any property from its superclass
override var isHighlighted: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:65:19: error: method does not override any method from its superclass
override func layoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:48:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:53:9: error: 'super' members cannot be referenced in a root class
super.init(coder: aDecoder)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:60:9: error: cannot find 'backgroundColor' in scope
backgroundColor = isHighlighted ? highlightedBackgroundColor : nonhighlightedBackgroundColor
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:62:9: error: cannot find 'setTitleColor' in scope
setTitleColor(titleColor, for: .normal)
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:62:41: error: cannot infer contextual base in reference to member 'normal'
setTitleColor(titleColor, for: .normal)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:66:9: error: 'super' members cannot be referenced in a root class
super.layoutSubviews()
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:67:9: error: cannot find 'layer' in scope
layer.cornerRadius = frame.height / 2
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:67:30: error: cannot find 'frame' in scope
layer.cornerRadius = frame.height / 2
^~~~~
SwiftCompile normal arm64_32 Compiling\ Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/Color.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: cannot find type 'NSLayoutConstraint' in scope
var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:51:33: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:51:74: error: cannot infer contextual base in reference to member 'normal'
startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:58:33: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
startDownloadButton.titleLabel?.font = startDownloadButtonTitleFont
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:156:30: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:156:68: error: cannot infer contextual base in reference to member 'normal'
downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:163:30: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
downloadedButton.titleLabel?.font = downloadedButtonTitleFont
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:200:17: warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.animationDispatchGroup.enter()
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:24:20: note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
public final class AHDownloadButton: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:20: warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:26:17: note: consider making enum 'State' conform to the 'Sendable' protocol
public enum State {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:48: warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:26:17: note: consider making enum 'State' conform to the 'Sendable' protocol
public enum State {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:48: warning: implicit capture of 'currentState' requires that 'AHDownloadButton.State' conforms to `Sendable`; this is an error in the Swift 6 language mode
if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:26:17: note: consider making enum 'State' conform to the 'Sendable' protocol
public enum State {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:79: warning: implicit capture of 'self' requires that 'AHDownloadButton' conforms to `Sendable`; this is an error in the Swift 6 language mode
if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:24:20: note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
public final class AHDownloadButton: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:21: warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.animateTransition(from: oldValue, to: currentState)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:24:20: note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
public final class AHDownloadButton: UIView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:50: warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.animateTransition(from: oldValue, to: currentState)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:26:17: note: consider making enum 'State' conform to the 'Sendable' protocol
public enum State {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:64: warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.animateTransition(from: oldValue, to: currentState)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:26:17: note: consider making enum 'State' conform to the 'Sendable' protocol
public enum State {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:228:49: error: missing argument for parameter 'frame' in call
let button = HighlightableRoundedButton()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:31: error: missing argument for parameter 'frame' in call
let view = CircleView()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:240:37: error: missing argument for parameter 'frame' in call
let button = ProgressButton()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:104:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:49: error: missing argument for parameter 'frame' in call
let button = HighlightableRoundedButton()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: cannot find type 'NSLayoutConstraint' in scope
var startDownloadButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: cannot find type 'NSLayoutConstraint' in scope
var pendingViewWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: cannot find type 'NSLayoutConstraint' in scope
var downloadingButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: cannot find type 'NSLayoutConstraint' in scope
var downloadedButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: cannot find type 'NSLayoutConstraint' in scope
var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:296:21: error: initializer does not override a designated initializer from its superclass
public override init(frame: CGRect) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:413:26: error: method does not override any method from its superclass
public override func layoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: cannot find type 'UIView' in scope
public final class AHDownloadButton: UIView {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:292:9: error: 'super' members cannot be referenced in a root class
super.init(frame: .zero)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:298:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:304:9: error: 'super' members cannot be referenced in a root class
super.init(coder: aDecoder)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:309:9: error: cannot find 'addSubview' in scope
addSubview(startDownloadButton)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:313:9: error: cannot find 'addSubview' in scope
addSubview(pendingCircleView)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:317:9: error: cannot find 'addSubview' in scope
addSubview(downloadingButton)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:321:9: error: cannot find 'addSubview' in scope
addSubview(downloadedButton)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:329:29: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:329:70: error: cannot infer contextual base in reference to member 'normal'
startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:330:29: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
startDownloadButton.titleLabel?.font = startDownloadButtonTitleFont
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:340:27: error: value of type 'CircleView' has no member 'alpha'
pendingCircleView.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:342:26: error: cannot find 'UITapGestureRecognizer' in scope
let tapGesture = UITapGestureRecognizer(target: self, action: #selector(currentButtonTapped))
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:343:27: error: value of type 'CircleView' has no member 'addGestureRecognizer'
pendingCircleView.addGestureRecognizer(tapGesture)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:353:27: error: value of type 'ProgressButton' has no member 'alpha'
downloadingButton.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:357:26: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
~~~~~~~~~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:357:64: error: cannot infer contextual base in reference to member 'normal'
downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:358:26: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
downloadedButton.titleLabel?.font = downloadedButtonTitleFont
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:363:26: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
downloadedButton.alpha = 0
~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:369:49: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let topConstraint = startDownloadButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:369:72: error: cannot infer contextual base in reference to member 'top'
let topConstraint = startDownloadButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~^~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:369:105: error: cannot infer contextual base in reference to member 'top'
let topConstraint = startDownloadButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~^~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:371:52: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let bottomConstraint = startDownloadButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:371:75: error: cannot infer contextual base in reference to member 'bottom'
let bottomConstraint = startDownloadButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:371:111: error: cannot infer contextual base in reference to member 'bottom'
let bottomConstraint = startDownloadButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:373:64: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let horizontalPositionConstraint = startDownloadButton.constraint(attribute: horizontalAlignmentAttribute, toItem: self, toAttribute: horizontalAlignmentAttribute)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:375:66: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
startDownloadButtonWidthConstraint = startDownloadButton.constraint(attribute: .width, constant: 50)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:375:89: error: cannot infer contextual base in reference to member 'width'
startDownloadButtonWidthConstraint = startDownloadButton.constraint(attribute: .width, constant: 50)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:377:9: error: cannot find 'NSLayoutConstraint' in scope
NSLayoutConstraint.activate([topConstraint, bottomConstraint, horizontalPositionConstraint, startDownloadButtonWidthConstraint])
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:381:62: error: value of type 'CircleView' has no member 'constraint'
let horizontalPositionConstraint = pendingCircleView.constraint(attribute: horizontalAlignmentAttribute, toItem: self, toAttribute: horizontalAlignmentAttribute)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:382:50: error: value of type 'CircleView' has no member 'constraint'
let heightConstraint = pendingCircleView.constraint(attribute: .height, relation: .equal, toItem: pendingCircleView, toAttribute: .width)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:382:73: error: cannot infer contextual base in reference to member 'height'
let heightConstraint = pendingCircleView.constraint(attribute: .height, relation: .equal, toItem: pendingCircleView, toAttribute: .width)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:382:92: error: cannot infer contextual base in reference to member 'equal'
let heightConstraint = pendingCircleView.constraint(attribute: .height, relation: .equal, toItem: pendingCircleView, toAttribute: .width)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:382:140: error: cannot infer contextual base in reference to member 'width'
let heightConstraint = pendingCircleView.constraint(attribute: .height, relation: .equal, toItem: pendingCircleView, toAttribute: .width)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:383:60: error: value of type 'CircleView' has no member 'constraint'
let verticalPositionConstraint = pendingCircleView.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:383:83: error: cannot infer contextual base in reference to member 'centerY'
let verticalPositionConstraint = pendingCircleView.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:383:120: error: cannot infer contextual base in reference to member 'centerY'
let verticalPositionConstraint = pendingCircleView.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:385:56: error: value of type 'CircleView' has no member 'constraint'
pendingViewWidthConstraint = pendingCircleView.constraint(attribute: .width, constant: 30)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:385:79: error: cannot infer contextual base in reference to member 'width'
pendingViewWidthConstraint = pendingCircleView.constraint(attribute: .width, constant: 30)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:386:9: error: cannot find 'NSLayoutConstraint' in scope
NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, pendingViewWidthConstraint])
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:390:62: error: value of type 'ProgressButton' has no member 'constraint'
let horizontalPositionConstraint = downloadingButton.constraint(attribute: horizontalAlignmentAttribute, toItem: self, toAttribute: horizontalAlignmentAttribute)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:391:60: error: value of type 'ProgressButton' has no member 'constraint'
let verticalPositionConstraint = downloadingButton.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:391:83: error: cannot infer contextual base in reference to member 'centerY'
let verticalPositionConstraint = downloadingButton.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:391:120: error: cannot infer contextual base in reference to member 'centerY'
let verticalPositionConstraint = downloadingButton.constraint(attribute: .centerY, toItem: self, toAttribute: .centerY)
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:393:50: error: value of type 'ProgressButton' has no member 'constraint'
let heightConstraint = downloadingButton.constraint(attribute: .height, toItem: downloadingButton, toAttribute: .width)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:393:73: error: cannot infer contextual base in reference to member 'height'
let heightConstraint = downloadingButton.constraint(attribute: .height, toItem: downloadingButton, toAttribute: .width)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:393:122: error: cannot infer contextual base in reference to member 'width'
let heightConstraint = downloadingButton.constraint(attribute: .height, toItem: downloadingButton, toAttribute: .width)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:395:62: error: value of type 'ProgressButton' has no member 'constraint'
downloadingButtonWidthConstraint = downloadingButton.constraint(attribute: .width, constant: 30)
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:395:85: error: cannot infer contextual base in reference to member 'width'
downloadingButtonWidthConstraint = downloadingButton.constraint(attribute: .width, constant: 30)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:397:9: error: cannot find 'NSLayoutConstraint' in scope
NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, downloadingButtonWidthConstraint])
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:401:46: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let topConstraint = downloadedButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:401:69: error: cannot infer contextual base in reference to member 'top'
let topConstraint = downloadedButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~^~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:401:102: error: cannot infer contextual base in reference to member 'top'
let topConstraint = downloadedButton.constraint(attribute: .top, toItem: self, toAttribute: .top)
~^~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:402:49: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let bottomConstraint = downloadedButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:402:72: error: cannot infer contextual base in reference to member 'bottom'
let bottomConstraint = downloadedButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:402:108: error: cannot infer contextual base in reference to member 'bottom'
let bottomConstraint = downloadedButton.constraint(attribute: .bottom, toItem: self, toAttribute: .bottom)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:403:61: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
let horizontalPositionConstraint = downloadedButton.constraint(attribute: horizontalAlignmentAttribute, toItem: self, toAttribute: horizontalAlignmentAttribute)
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:406:60: error: value of type 'HighlightableRoundedButton' has no member 'constraint'
downloadedButtonWidthConstraint = downloadedButton.constraint(attribute: .width, constant: 50)
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:406:83: error: cannot infer contextual base in reference to member 'width'
downloadedButtonWidthConstraint = downloadedButton.constraint(attribute: .width, constant: 50)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:408:9: error: cannot find 'NSLayoutConstraint' in scope
NSLayoutConstraint.activate([topConstraint, bottomConstraint, horizontalPositionConstraint, downloadedButtonWidthConstraint])
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:414:9: error: 'super' members cannot be referenced in a root class
super.layoutSubviews()
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:415:25: error: cannot find 'frame' in scope
let width = min(frame.width, frame.height)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:415:38: error: cannot find 'frame' in scope
let width = min(frame.width, frame.height)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:420:65: error: value of type 'HighlightableRoundedButton' has no member 'titleWidth'
startDownloadButtonTitleWidth = startDownloadButton.titleWidth
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:424:59: error: value of type 'HighlightableRoundedButton' has no member 'titleWidth'
downloadedButtonTitleWidth = downloadedButton.titleWidth
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
SwiftCompile normal arm64_32 Compiling\ CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/CircleView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: cannot find type 'UIView' in scope
final class CircleView: UIView {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:31:22: error: cannot find type 'CAShapeLayer' in scope
let circleLayer: CAShapeLayer = {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:57:19: error: method does not override any method from its superclass
override func layoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:41:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:46:9: error: 'super' members cannot be referenced in a root class
super.init(coder: aDecoder)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:51:9: error: cannot find 'backgroundColor' in scope
backgroundColor = .clear
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:54:9: error: cannot find 'layer' in scope
layer.addSublayer(circleLayer)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:58:9: error: 'super' members cannot be referenced in a root class
super.layoutSubviews()
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:59:26: error: cannot find 'frame' in scope
let radius = min(frame.width / 2, frame.height / 2) - lineWidth / 2
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:59:43: error: cannot find 'frame' in scope
let radius = min(frame.width / 2, frame.height / 2) - lineWidth / 2
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:60:33: error: cannot find 'frame' in scope
let center = CGPoint(x: frame.width / 2, y: frame.height / 2)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:60:53: error: cannot find 'frame' in scope
let center = CGPoint(x: frame.width / 2, y: frame.height / 2)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:70:9: error: cannot find 'layer' in scope
layer.removeAnimation(forKey: animationKey)
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:71:33: error: cannot find 'CABasicAnimation' in scope
let rotationAnimation = CABasicAnimation(keyPath: "transform.rotation")
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:75:42: error: cannot infer contextual base in reference to member 'greatestFiniteMagnitude'
rotationAnimation.repeatCount = .greatestFiniteMagnitude;
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:76:9: error: cannot find 'layer' in scope
layer.add(rotationAnimation, forKey: animationKey)
^~~~~
SwiftCompile normal arm64_32 Compiling\ UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/UIButton+TitleWidth.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift:11:11: error: cannot find type 'UIButton' in scope
extension UIButton {
^~~~~~~~
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: cannot find type 'NSLayoutConstraint' in scope
34 | case center, left, right
35 |
36 | var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | switch self {
38 | case .center: return .centerX
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:51:33: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
49 | public var startDownloadButtonTitle: String = "GET" {
50 | didSet {
51 | startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
| `- error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
52 | startDownloadButtonTitleWidth = 0
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:51:74: error: cannot infer contextual base in reference to member 'normal'
49 | public var startDownloadButtonTitle: String = "GET" {
50 | didSet {
51 | startDownloadButton.setTitle(startDownloadButtonTitle, for: .normal)
| `- error: cannot infer contextual base in reference to member 'normal'
52 | startDownloadButtonTitleWidth = 0
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:58:33: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
56 | public var startDownloadButtonTitleFont: UIFont = .boldSystemFont(ofSize: 15) {
57 | didSet {
58 | startDownloadButton.titleLabel?.font = startDownloadButtonTitleFont
| `- error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:156:30: error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
154 | public var downloadedButtonTitle: String = "OPEN" {
155 | didSet {
156 | downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
| `- error: value of type 'HighlightableRoundedButton' has no member 'setTitle'
157 | downloadedButtonTitleWidth = 0
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:156:68: error: cannot infer contextual base in reference to member 'normal'
154 | public var downloadedButtonTitle: String = "OPEN" {
155 | didSet {
156 | downloadedButton.setTitle(downloadedButtonTitle, for: .normal)
| `- error: cannot infer contextual base in reference to member 'normal'
157 | downloadedButtonTitleWidth = 0
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:163:30: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
161 | public var downloadedButtonTitleFont: UIFont = .boldSystemFont(ofSize: 15) {
162 | didSet {
163 | downloadedButton.titleLabel?.font = downloadedButtonTitleFont
| `- error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
164 | }
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:200:17: warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
25 |
26 | public enum State {
:
198 | downloadButtonStateChangedAction?(self, state)
199 | animationQueue.async { [currentState = state] in
200 | self.animationDispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |
202 | var delay: TimeInterval = 0
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:20: warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | public final class AHDownloadButton: UIView {
25 |
26 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
27 | case startDownload
28 | case pending
:
201 |
202 | var delay: TimeInterval = 0
203 | if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
| `- warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | delay = self.downloadingButton.progressCircleView.progressAnimationDuration
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:48: warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | public final class AHDownloadButton: UIView {
25 |
26 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
27 | case startDownload
28 | case pending
:
201 |
202 | var delay: TimeInterval = 0
203 | if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
| `- warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | delay = self.downloadingButton.progressCircleView.progressAnimationDuration
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:48: warning: implicit capture of 'currentState' requires that 'AHDownloadButton.State' conforms to `Sendable`; this is an error in the Swift 6 language mode
24 | public final class AHDownloadButton: UIView {
25 |
26 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
27 | case startDownload
28 | case pending
:
201 |
202 | var delay: TimeInterval = 0
203 | if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
| `- warning: implicit capture of 'currentState' requires that 'AHDownloadButton.State' conforms to `Sendable`; this is an error in the Swift 6 language mode
204 | delay = self.downloadingButton.progressCircleView.progressAnimationDuration
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:203:79: warning: implicit capture of 'self' requires that 'AHDownloadButton' conforms to `Sendable`; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
25 |
26 | public enum State {
:
201 |
202 | var delay: TimeInterval = 0
203 | if oldValue == .downloading && currentState == .downloaded && self.downloadingButton.progress == 1 {
| `- warning: implicit capture of 'self' requires that 'AHDownloadButton' conforms to `Sendable`; this is an error in the Swift 6 language mode
204 | delay = self.downloadingButton.progressCircleView.progressAnimationDuration
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:21: warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- note: class 'AHDownloadButton' does not conform to the 'Sendable' protocol
25 |
26 | public enum State {
:
206 |
207 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
208 | self.animateTransition(from: oldValue, to: currentState)
| `- warning: capture of 'self' with non-sendable type 'AHDownloadButton' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | }
210 | self.animationDispatchGroup.wait()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:50: warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | public final class AHDownloadButton: UIView {
25 |
26 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
27 | case startDownload
28 | case pending
:
206 |
207 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
208 | self.animateTransition(from: oldValue, to: currentState)
| `- warning: capture of 'oldValue' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | }
210 | self.animationDispatchGroup.wait()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:208:64: warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | public final class AHDownloadButton: UIView {
25 |
26 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
27 | case startDownload
28 | case pending
:
206 |
207 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
208 | self.animateTransition(from: oldValue, to: currentState)
| `- warning: capture of 'currentState' with non-sendable type 'AHDownloadButton.State' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | }
210 | self.animationDispatchGroup.wait()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| `- error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
230 | return button
231 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:228:49: error: missing argument for parameter 'frame' in call
226 |
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
| `- error: missing argument for parameter 'frame' in call
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
230 | return button
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: note: 'init(frame:)' declared here
45 | // MARK: Initializers
46 |
47 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
48 | super.init(frame: frame)
49 | updateColors()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:31: error: missing argument for parameter 'frame' in call
232 |
233 | let pendingCircleView: CircleView = {
234 | let view = CircleView()
| `- error: missing argument for parameter 'frame' in call
235 | view.endAngleRadians = view.startAngleRadians + 12 * .pi / 7
236 | return view
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: note: 'init(frame:)' declared here
38 | // MARK: Initializers
39 |
40 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
41 | super.init(frame: frame)
42 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| `- error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
242 | return button
243 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:240:37: error: missing argument for parameter 'frame' in call
238 |
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
| `- error: missing argument for parameter 'frame' in call
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
242 | return button
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:104:14: note: 'init(frame:)' declared here
102 | // MARK: Initializers
103 |
104 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
105 | super.init(frame: frame)
106 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| `- error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
248 | return button
249 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:49: error: missing argument for parameter 'frame' in call
244 |
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
| `- error: missing argument for parameter 'frame' in call
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
248 | return button
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: note: 'init(frame:)' declared here
45 | // MARK: Initializers
46 |
47 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
48 | super.init(frame: frame)
49 | updateColors()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: cannot find type 'NSLayoutConstraint' in scope
258 | // MARK: Constraints
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
| `- error: cannot find type 'NSLayoutConstraint' in scope
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: cannot find type 'NSLayoutConstraint' in scope
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
| `- error: cannot find type 'NSLayoutConstraint' in scope
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: cannot find type 'NSLayoutConstraint' in scope
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
| `- error: cannot find type 'NSLayoutConstraint' in scope
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: cannot find type 'NSLayoutConstraint' in scope
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
| `- error: cannot find type 'NSLayoutConstraint' in scope
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
265 | return contentHorizontalAlignment.relativeLayoutAttribute
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: cannot find type 'NSLayoutConstraint' in scope
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
| `- error: cannot find type 'NSLayoutConstraint' in scope
265 | return contentHorizontalAlignment.relativeLayoutAttribute
266 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:296:21: error: initializer does not override a designated initializer from its superclass
294 | }
295 |
296 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
297 | contentHorizontalAlignment = .center
298 | super.init(frame: frame)
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:413:26: error: method does not override any method from its superclass
411 | // MARK: Method overrides
412 |
413 | public override func layoutSubviews() {
| `- error: method does not override any method from its superclass
414 | super.layoutSubviews()
415 | let width = min(frame.width, frame.height)
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: cannot find type 'UIView' in scope
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- error: cannot find type 'UIView' in scope
25 |
26 | public enum State {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: cannot find type 'UIView' in scope
9 | import UIKit
10 |
11 | final class CircleView: UIView {
| `- error: cannot find type 'UIView' in scope
12 |
13 | // MARK: Properties
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:31:22: error: cannot find type 'CAShapeLayer' in scope
29 | }
30 |
31 | let circleLayer: CAShapeLayer = {
| `- error: cannot find type 'CAShapeLayer' in scope
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: error: initializer does not override a designated initializer from its superclass
38 | // MARK: Initializers
39 |
40 | override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
41 | super.init(frame: frame)
42 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:57:19: error: method does not override any method from its superclass
55 | }
56 |
57 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
58 | super.layoutSubviews()
59 | let radius = min(frame.width / 2, frame.height / 2) - lineWidth / 2
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:11:41: error: cannot find type 'UIButton' in scope
9 | import UIKit
10 |
11 | final class HighlightableRoundedButton: UIButton {
| `- error: cannot find type 'UIButton' in scope
12 |
13 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:39:18: error: property does not override any property from its superclass
37 | }
38 |
39 | override var isHighlighted: Bool {
| `- error: property does not override any property from its superclass
40 | didSet {
41 | updateColors()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:47:14: error: initializer does not override a designated initializer from its superclass
45 | // MARK: Initializers
46 |
47 | override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
48 | super.init(frame: frame)
49 | updateColors()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:65:19: error: method does not override any method from its superclass
63 | }
64 |
65 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
66 | super.layoutSubviews()
67 | layer.cornerRadius = frame.height / 2
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:11:29: error: cannot find type 'UIControl' in scope
9 | import UIKit
10 |
11 | final class ProgressButton: UIControl {
| `- error: cannot find type 'UIControl' in scope
12 |
13 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:22:19: error: cannot find type 'UIView' in scope
20 | }
21 |
22 | let stopView: UIView = {
| `- error: cannot find type 'UIView' in scope
23 | let view = UIView()
24 | view.isUserInteractionEnabled = false
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:30:37: error: missing argument for parameter 'frame' in call
28 |
29 | lazy var trackCircleView: CircleView = {
30 | let circleView = CircleView()
| `- error: missing argument for parameter 'frame' in call
31 | circleView.lineWidth = circleViewLineWidth
32 | circleView.isUserInteractionEnabled = false
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: note: 'init(frame:)' declared here
38 | // MARK: Initializers
39 |
40 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
41 | super.init(frame: frame)
42 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:37:39: error: missing argument for parameter 'frame' in call
35 |
36 | lazy var progressCircleView: ProgressCircleView = {
37 | let view = ProgressCircleView()
| `- error: missing argument for parameter 'frame' in call
38 | view.lineWidth = circleViewLineWidth
39 | view.isUserInteractionEnabled = false
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:54:14: note: 'init(frame:)' declared here
52 | // MARK: Initializers
53 |
54 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
55 | super.init(frame: frame)
56 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:96:18: error: property does not override any property from its superclass
94 | }
95 |
96 | override var isHighlighted: Bool {
| `- error: property does not override any property from its superclass
97 | didSet {
98 | updateColors()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:104:14: error: initializer does not override a designated initializer from its superclass
102 | // MARK: Initializers
103 |
104 | override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
105 | super.init(frame: frame)
106 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:10:33: error: cannot find type 'UIView' in scope
8 | import UIKit
9 |
10 | final class ProgressCircleView: UIView {
| `- error: cannot find type 'UIView' in scope
11 |
12 | // MARK: Properties
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:15:31: error: missing argument for parameter 'frame' in call
13 |
14 | private let circleView: CircleView = {
15 | let view = CircleView()
| `- error: missing argument for parameter 'frame' in call
16 | view.circleColor = .red
17 | view.startAngleRadians = -CGFloat.pi / 2
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: note: 'init(frame:)' declared here
38 | // MARK: Initializers
39 |
40 | override init(frame: CGRect) {
| `- note: 'init(frame:)' declared here
41 | super.init(frame: frame)
42 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:54:14: error: initializer does not override a designated initializer from its superclass
52 | // MARK: Initializers
53 |
54 | override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
55 | super.init(frame: frame)
56 | commonInit()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:81:31: error: cannot find type 'CAAnimationDelegate' in scope
79 | }
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
| `- error: cannot find type 'CAAnimationDelegate' in scope
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
83 | isAnimating = false
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:82:35: error: cannot find type 'CAAnimation' in scope
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
| `- error: cannot find type 'CAAnimation' in scope
83 | isAnimating = false
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift:11:11: error: cannot find type 'UIButton' in scope
9 | import UIKit
10 |
11 | extension UIButton {
| `- error: cannot find type 'UIButton' in scope
12 |
13 | var titleWidth: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift:11:11: error: cannot find type 'UIView' in scope
9 | import UIKit
10 |
11 | extension UIView {
| `- error: cannot find type 'UIView' in scope
12 |
13 | @discardableResult
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
SwiftCompile normal arm64_32 Compiling\ ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/ProgressButton.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:11:29: error: cannot find type 'UIControl' in scope
final class ProgressButton: UIControl {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:22:19: error: cannot find type 'UIView' in scope
let stopView: UIView = {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:30:37: error: missing argument for parameter 'frame' in call
let circleView = CircleView()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:40:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:37:39: error: missing argument for parameter 'frame' in call
let view = ProgressCircleView()
^
frame: <#CGRect#>
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:54:14: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:96:18: error: property does not override any property from its superclass
override var isHighlighted: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:104:14: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:105:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:110:9: error: 'super' members cannot be referenced in a root class
super.init(coder: aDecoder)
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:117:9: error: cannot find 'backgroundColor' in scope
backgroundColor = .clear
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:119:9: error: cannot find 'addSubview' in scope
addSubview(trackCircleView)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:120:25: error: value of type 'CircleView' has no member 'pinToSuperview'
trackCircleView.pinToSuperview()
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:122:9: error: cannot find 'addSubview' in scope
addSubview(progressCircleView)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:123:28: error: value of type 'ProgressCircleView' has no member 'pinToSuperview'
progressCircleView.pinToSuperview()
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:125:9: error: cannot find 'addSubview' in scope
addSubview(stopView)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:127:64: error: cannot infer contextual base in reference to member 'height'
let heightConstraint = stopView.constraint(attribute: .height, toItem: stopView, toAttribute: .width)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:127:104: error: cannot infer contextual base in reference to member 'width'
let heightConstraint = stopView.constraint(attribute: .height, toItem: stopView, toAttribute: .width)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:128:63: error: cannot infer contextual base in reference to member 'width'
let widthConstraint = stopView.constraint(attribute: .width, toItem: self, toAttribute: .width, multiplier: 0.3, constant: 0)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:128:98: error: cannot infer contextual base in reference to member 'width'
let widthConstraint = stopView.constraint(attribute: .width, toItem: self, toAttribute: .width, multiplier: 0.3, constant: 0)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:130:9: error: cannot find 'NSLayoutConstraint' in scope
NSLayoutConstraint.activate([heightConstraint, widthConstraint])
^~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.o -index-unit-output-path /AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/arm64_32/AHDownloadButton+StateTransitionAnimation.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:45:29: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
startDownloadButton.titleLabel?.alpha = 0
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: cannot find type 'NSLayoutConstraint' in scope
var startDownloadButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: cannot find type 'NSLayoutConstraint' in scope
var pendingViewWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:47:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:48:18: error: value of type 'AHDownloadButton' has no member 'layoutIfNeeded'
self.layoutIfNeeded()
~~~~ ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:51:36: error: value of type 'CircleView' has no member 'alpha'
self.pendingCircleView.alpha = 1
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:57:29: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
startDownloadButton.titleLabel?.alpha = 0
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: cannot find type 'NSLayoutConstraint' in scope
var downloadingButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:59:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:60:18: error: value of type 'AHDownloadButton' has no member 'layoutIfNeeded'
self.layoutIfNeeded()
~~~~ ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:63:36: error: value of type 'ProgressButton' has no member 'alpha'
self.downloadingButton.alpha = 1
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:69:9: error: cannot find 'layoutIfNeeded' in scope
layoutIfNeeded()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:71:29: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
startDownloadButton.alpha = 1
~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:73:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:74:36: error: value of type 'CircleView' has no member 'alpha'
self.pendingCircleView.alpha = 0
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:81:27: error: value of type 'CircleView' has no member 'alpha'
pendingCircleView.alpha = 1
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:82:27: error: value of type 'ProgressButton' has no member 'alpha'
downloadingButton.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:83:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:84:36: error: value of type 'CircleView' has no member 'alpha'
self.pendingCircleView.alpha = 0
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:90:26: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
downloadedButton.alpha = 1
~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: cannot find type 'NSLayoutConstraint' in scope
var downloadedButtonWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:92:9: error: cannot find 'layoutIfNeeded' in scope
layoutIfNeeded()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:94:26: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
downloadedButton.titleLabel?.alpha = 0
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:96:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:97:36: error: value of type 'ProgressButton' has no member 'alpha'
self.downloadingButton.alpha = 0
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:105:9: error: cannot find 'layoutIfNeeded' in scope
layoutIfNeeded()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:107:27: error: value of type 'ProgressButton' has no member 'alpha'
downloadingButton.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:108:29: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
startDownloadButton.alpha = 1
~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:110:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: transitionAnimationDuration, animations: {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:111:38: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
self.startDownloadButton.titleLabel?.alpha = 1
~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:119:33: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
startDownloadButton.alpha = 1
~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:121:31: error: value of type 'CircleView' has no member 'alpha'
pendingCircleView.alpha = 1
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:123:31: error: value of type 'ProgressButton' has no member 'alpha'
downloadingButton.alpha = 1
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:125:30: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
downloadedButton.alpha = 1
~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:134:33: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
startDownloadButton.alpha = 0
~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:135:33: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
startDownloadButton.titleLabel?.alpha = 1
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:140:31: error: value of type 'CircleView' has no member 'alpha'
pendingCircleView.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:144:31: error: value of type 'ProgressButton' has no member 'alpha'
downloadingButton.alpha = 0
~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:149:30: error: value of type 'HighlightableRoundedButton' has no member 'alpha'
downloadedButton.alpha = 0
~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:150:30: error: value of type 'HighlightableRoundedButton' has no member 'titleLabel'
downloadedButton.titleLabel?.alpha = 1
~~~~~~~~~~~~~~~~ ^~~~~~~~~~
SwiftEmitModule normal armv7k Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name AHDownloadButton -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton.build/Objects-normal/armv7k/AHDownloadButton.abi.json
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'AHDownloadButton' from project 'AHDownloadButton')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 Compiling\ ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 Compiling\ UIView+Constraint.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 Compiling\ HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 Compiling\ CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftEmitModule normal armv7k Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
(15 failures)
BUILD FAILURE 6.0 watchOS