Build Information
Failed to build sigstore-swift, reference main (a6d4d5), with Swift 6.4 for tvOS using Xcode 27.0 on 30 Nov 2026 10:43:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme sigstore-swift-Package -destination generic/platform=tvOSBuild Log
SwiftDriver CryptoExtras normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CryptoExtras' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CryptoExtras -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DCRYPTO_IN_SWIFTPM -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -DXcode -enable-experimental-feature Lifetimes -enable-experimental-feature SourceWarningControl -enable-experimental-feature CheckImplementationOnly -enable-upcoming-feature MemberImportVisibility -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras-dependency-scan.dia -user-module-version 5.2.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swift_crypto -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoExtras-t.build/Objects-normal/arm64/CryptoExtras-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftProtobuf normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftProtobuf' from project 'SwiftProtobuf')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftProtobuf -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DBinaryDelimitedStreams -DFieldMaskUtilities -DXcode -enable-upcoming-feature ExistentialAny -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf-dependency-scan.dia -user-module-version 1.41.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swift_protobuf -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftProtobuf.build/Debug-appletvos/SwiftProtobuf-t.build/Objects-normal/arm64/SwiftProtobuf-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver CryptoBoringWrapper normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CryptoBoringWrapper' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CryptoBoringWrapper -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DCRYPTO_IN_SWIFTPM -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -DXcode -enable-experimental-feature Lifetimes -enable-experimental-feature SourceWarningControl -enable-experimental-feature CheckImplementationOnly -enable-upcoming-feature MemberImportVisibility -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-dependency-scan.dia -user-module-version 5.2.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swift_crypto -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
ExtractAppIntentsMetadata (in target 'Crypto' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.4jH3En/Metal.xctoolchain --module-name Crypto --sdk-root /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk --xcode-version 27A266a --platform-family tvOS --deployment-target 15.0 --bundle-identifier swift-crypto.Crypto --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/Crypto.appintents --target-triple arm64-apple-tvos15.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/Crypto.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Objects-normal/arm64/Crypto_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Objects-normal/arm64/Crypto.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Crypto.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Crypto.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/Crypto-t.build/Objects-normal/arm64/Crypto.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-11-30 05:43:25.283 appintentsmetadataprocessor[1895:7241] Starting appintentsmetadataprocessor export
2026-11-30 05:43:25.375 appintentsmetadataprocessor[1895:7241] Extracted no relevant App Intents symbols, skipping writing output
SwiftDriver\ Compilation CryptoBoringWrapper normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CryptoBoringWrapper' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CryptoBoringWrapper -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DCRYPTO_IN_SWIFTPM -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -DXcode -enable-experimental-feature Lifetimes -enable-experimental-feature SourceWarningControl -enable-experimental-feature CheckImplementationOnly -enable-upcoming-feature MemberImportVisibility -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-dependency-scan.dia -user-module-version 5.2.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swift_crypto -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ DERReader.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/DERReader.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/DERReader.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DERReader.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SigstoreCryptoExtras (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ RSA.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/RSA.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/RSA.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RSA.swift
SwiftCompile normal arm64 Compiling\ Field25519.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:63: error: 'UInt128' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| `- error: 'UInt128' is only available in tvOS 18.0 or newer
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:84: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:73: error: 'UInt128' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:73: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:73: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:86: error: 'UInt128' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:86: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:140:86: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:143:83: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:143:66: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:143:49: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:143:32: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
141 | let b1_19 = b.l1 * 19, b2_19 = b.l2 * 19, b3_19 = b.l3 * 19, b4_19 = b.l4 * 19
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:144:82: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:144:65: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:144:48: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:144:32: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
142 | // Limbs < 2^52, so each product < 2^109 and each sum < 2^112.
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:145:81: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:145:64: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:145:48: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:145:32: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
143 | var r0 = m(a.l0, b.l0) + m(a.l1, b4_19) + m(a.l2, b3_19) + m(a.l3, b2_19) + m(a.l4, b1_19)
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:146:80: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:146:64: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:146:48: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:146:32: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
144 | var r1 = m(a.l0, b.l1) + m(a.l1, b.l0) + m(a.l2, b4_19) + m(a.l3, b3_19) + m(a.l4, b2_19)
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:147:80: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:147:64: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:147:48: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:147:32: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
145 | var r2 = m(a.l0, b.l2) + m(a.l1, b.l1) + m(a.l2, b.l0) + m(a.l3, b4_19) + m(a.l4, b3_19)
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:148:20: error: 'UInt128' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
149 | r1 += r0 >> 51
150 | r0 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:148:20: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
149 | r1 += r0 >> 51
150 | r0 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:148:20: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
146 | var r3 = m(a.l0, b.l3) + m(a.l1, b.l2) + m(a.l2, b.l1) + m(a.l3, b.l0) + m(a.l4, b4_19)
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
149 | r1 += r0 >> 51
150 | r0 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:149:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
150 | r0 &= mask
151 | r2 += r1 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:149:18: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
147 | var r4 = m(a.l0, b.l4) + m(a.l1, b.l3) + m(a.l2, b.l2) + m(a.l3, b.l1) + m(a.l4, b.l0)
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
150 | r0 &= mask
151 | r2 += r1 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:150:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
148 | let mask = UInt128(mask51)
149 | r1 += r0 >> 51
150 | r0 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
151 | r2 += r1 >> 51
152 | r1 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:151:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
149 | r1 += r0 >> 51
150 | r0 &= mask
151 | r2 += r1 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
152 | r1 &= mask
153 | r3 += r2 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:151:18: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
149 | r1 += r0 >> 51
150 | r0 &= mask
151 | r2 += r1 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
152 | r1 &= mask
153 | r3 += r2 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:152:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
150 | r0 &= mask
151 | r2 += r1 >> 51
152 | r1 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
153 | r3 += r2 >> 51
154 | r2 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:153:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
151 | r2 += r1 >> 51
152 | r1 &= mask
153 | r3 += r2 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
154 | r2 &= mask
155 | r4 += r3 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:153:18: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
151 | r2 += r1 >> 51
152 | r1 &= mask
153 | r3 += r2 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
154 | r2 &= mask
155 | r4 += r3 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:154:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
152 | r1 &= mask
153 | r3 += r2 >> 51
154 | r2 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
155 | r4 += r3 >> 51
156 | r3 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:155:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
153 | r3 += r2 >> 51
154 | r2 &= mask
155 | r4 += r3 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:155:18: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
153 | r3 += r2 >> 51
154 | r2 &= mask
155 | r4 += r3 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:156:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
154 | r2 &= mask
155 | r4 += r3 >> 51
156 | r3 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
157 | r0 += (r4 >> 51) * 19
158 | r4 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:157:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
155 | r4 += r3 >> 51
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
158 | r4 &= mask
159 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:157:26: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
155 | r4 += r3 >> 51
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
158 | r4 &= mask
159 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:157:19: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
155 | r4 += r3 >> 51
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
158 | r4 &= mask
159 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:157:28: error: 'UInt128' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
155 | r4 += r3 >> 51
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
158 | r4 &= mask
159 | r1 += r0 >> 51
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:158:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
156 | r3 &= mask
157 | r0 += (r4 >> 51) * 19
158 | r4 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
159 | r1 += r0 >> 51
160 | r0 &= mask
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:159:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
157 | r0 += (r4 >> 51) * 19
158 | r4 &= mask
159 | r1 += r0 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
160 | r0 &= mask
161 | return FieldElement(
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:159:18: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
157 | r0 += (r4 >> 51) * 19
158 | r4 &= mask
159 | r1 += r0 >> 51
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
160 | r0 &= mask
161 | return FieldElement(
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:160:12: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
158 | r4 &= mask
159 | r1 += r0 >> 51
160 | r0 &= mask
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:162:17: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
160 | r0 &= mask
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
163 | ).carried()
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:162:33: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
160 | r0 &= mask
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
163 | ).carried()
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:162:49: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
160 | r0 &= mask
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
163 | ).carried()
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:162:65: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
160 | r0 &= mask
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
163 | ).carried()
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift:162:81: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
6 | // time. All operations are total: there is no input that can trap.
7 |
8 | struct FieldElement: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | var l0: UInt64
10 | var l1: UInt64
:
136 | static prefix func - (a: FieldElement) -> FieldElement { .zero - a }
137 |
138 | static func * (a: FieldElement, b: FieldElement) -> FieldElement {
| `- note: add '@available' attribute to enclosing operator function
139 | let a = a.carried(), b = b.carried()
140 | @inline(__always) func m(_ x: UInt64, _ y: UInt64) -> UInt128 { UInt128(x) * UInt128(y) }
:
160 | r0 &= mask
161 | return FieldElement(
162 | l0: UInt64(r0), l1: UInt64(r1), l2: UInt64(r2), l3: UInt64(r3), l4: UInt64(r4)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
163 | ).carried()
164 | }
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/DERReader.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Ed25519ph.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Edwards25519.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/RSA.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.dia -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/SigstoreCryptoExtras-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -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/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SigstoreCryptoExtras -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/SigstoreCryptoExtras_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/SigstoreCryptoExtras.swiftmodule -index-unit-output-path /sigstore-swift.build/Debug-appletvos/SigstoreCryptoExtras-t.build/Objects-normal/arm64/Field25519.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Field25519.swift
SwiftCompile normal arm64 Compiling\ BigUInt.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:120:22: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
118 | for i in 0..<s {
119 | var c: UInt64 = 0
120 | let bi = UInt128(b[i])
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:120:22: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
118 | for i in 0..<s {
119 | var c: UInt64 = 0
120 | let bi = UInt128(b[i])
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:120:22: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
118 | for i in 0..<s {
119 | var c: UInt64 = 0
120 | let bi = UInt128(b[i])
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:60: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:44: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:39: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:25: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:25: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:25: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:46: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:46: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:46: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:62: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:62: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:123:62: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
121 | for j in 0..<s {
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:124:24: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
122 | // (2^64-1)^2 + 2(2^64-1) = 2^128 - 1: never overflows.
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
124 | t[j] = UInt64(truncatingIfNeeded: p)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:125:21: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:125:50: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
123 | let p = UInt128(a[j]) * bi + UInt128(t[j]) + UInt128(c)
124 | t[j] = UInt64(truncatingIfNeeded: p)
125 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:37: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:23: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:23: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:23: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:39: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:39: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:127:39: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
125 | c = UInt64(truncatingIfNeeded: p >> 64)
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:128:20: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
126 | }
127 | var sum = UInt128(t[s]) + UInt128(c)
128 | t[s] = UInt64(truncatingIfNeeded: sum)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:129:24: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
127 | var sum = UInt128(t[s]) + UInt128(c)
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:129:55: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
127 | var sum = UInt128(t[s]) + UInt128(c)
128 | t[s] = UInt64(truncatingIfNeeded: sum)
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:131:21: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
133 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:131:21: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
133 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:131:21: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
129 | t[s + 1] = UInt64(truncatingIfNeeded: sum >> 64)
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
133 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:39: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:23: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:25: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:25: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:25: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:41: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:41: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:132:41: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
130 |
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:133:17: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
133 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:133:46: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
131 | let m = UInt128(t[0] &* n0Inverse)
132 | var p = m * UInt128(n[0]) + UInt128(t[0])
133 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:55: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:39: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:23: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:25: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:25: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:25: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:41: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:41: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:41: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:57: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:57: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:135:57: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
133 | c = UInt64(truncatingIfNeeded: p >> 64)
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:136:28: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
134 | for j in 1..<s {
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:137:21: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:137:50: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
135 | p = m * UInt128(n[j]) + UInt128(t[j]) + UInt128(c)
136 | t[j - 1] = UInt64(truncatingIfNeeded: p)
137 | c = UInt64(truncatingIfNeeded: p >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:33: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:19: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:19: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:19: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:35: error: 'UInt128' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: 'UInt128' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:35: error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'FixedWidthInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:139:35: error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
137 | c = UInt64(truncatingIfNeeded: p >> 64)
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
| |- error: conformance of 'UInt128' to 'UnsignedInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:140:24: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
138 | }
139 | sum = UInt128(t[s]) + UInt128(c)
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
142 | t[s + 1] = 0
/Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift:141:31: error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
89 |
90 | /// Precomputed values for Montgomery multiplication modulo an odd n.
91 | struct MontgomeryContext: Sendable {
| `- note: add '@available' attribute to enclosing struct
92 | let n: BigUInt.Limbs
93 | /// -n^-1 mod 2^64.
:
113 |
114 | /// a · b · R^-1 mod n for a, b < n (CIOS Montgomery multiplication).
115 | func multiply(_ a: BigUInt.Limbs, _ b: BigUInt.Limbs) -> BigUInt.Limbs {
| `- note: add '@available' attribute to enclosing instance method
116 | let s = n.count
117 | var t = BigUInt.Limbs(repeating: 0, count: s + 2)
:
139 | sum = UInt128(t[s]) + UInt128(c)
140 | t[s - 1] = UInt64(truncatingIfNeeded: sum)
141 | t[s] = t[s + 1] + UInt64(truncatingIfNeeded: sum >> 64)
| |- error: conformance of 'UInt128' to 'BinaryInteger' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
142 | t[s + 1] = 0
143 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/BigUInt.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BigUInt.swift
SwiftCompile normal arm64 Compiling\ Edwards25519.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Edwards25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Edwards25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Edwards25519.swift
SwiftCompile normal arm64 Compiling\ Ed25519ph.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Ed25519ph.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Ed25519ph.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Ed25519ph.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SigstoreProtobufSpecs (in target 'SigstoreProtobufSpecs' from project 'sigstore-swift')
SwiftCompile normal arm64 (in target 'SigstoreProtobufSpecs' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CryptoBoringWrapper.o normal (in target 'CryptoBoringWrapper' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-crypto
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-tvos15.0 -r -isysroot /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/appletvos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-crypto.build/Debug-appletvos/CryptoBoringWrapper-t.build/Objects-normal/arm64/CryptoBoringWrapper.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CryptoBoringWrapper.o
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CommonCrypto-DV6C84HGONAHCI4EBKGNKSFG5.pcm
SwiftCompile normal arm64 Compiling\ google_api_field_behavior.pb.swift,\ in_toto_attestation_v1_resource_descriptor.pb.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreProtobufSpecs/Generated/google_api_field_behavior.pb.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreProtobufSpecs/Generated/in_toto_attestation_v1_resource_descriptor.pb.swift (in target 'SigstoreProtobufSpecs' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreProtobufSpecs/Generated/google_api_field_behavior.pb.swift (in target 'SigstoreProtobufSpecs' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile google_api_field_behavior.pb.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreProtobufSpecs/Generated/in_toto_attestation_v1_resource_descriptor.pb.swift (in target 'SigstoreProtobufSpecs' from project 'sigstore-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile in_toto_attestation_v1_resource_descriptor.pb.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftProtobuf (in target 'SwiftProtobuf' from project 'SwiftProtobuf')
SwiftCompile normal arm64 (in target 'SwiftProtobuf' from project 'SwiftProtobuf')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ CryptoExtras (in target 'CryptoExtras' from project 'swift-crypto')
SwiftCompile normal arm64 (in target 'CryptoExtras' from project 'swift-crypto')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-11-30 05:43:22.215 xcodebuild[1891:7186] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ Field25519.swift /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SigstoreCryptoExtras/Field25519.swift (in target 'SigstoreCryptoExtras' from project 'sigstore-swift')
Building workspace sigstore-swift with scheme sigstore-swift-Package
(3 failures)
BUILD FAILURE 6.4 tvOS