Build Information
Failed to build zcash-swift-payment-uri, reference main (798053), with Swift 6.3 for Wasm on 18 Apr 2026 07:47:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zecdev/zcash-swift-payment-uri.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/zecdev/zcash-swift-payment-uri
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 798053b Merge pull request #77 from zecdev/fix-charset-encoding-validation
Cloned https://github.com/zecdev/zcash-swift-payment-uri.git
Revision (git rev-parse @):
798053ba8a2d80560b5e3f4899a8b35ac0c348bb
SUCCESS checkout https://github.com/zecdev/zcash-swift-payment-uri.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/zecdev/zcash-swift-payment-uri.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/mgriebling/BigDecimal.git
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5948] Fetching bigdecimal
[418/10564] Fetching bigdecimal, swift-case-paths
[1791/16028] Fetching bigdecimal, swift-case-paths, swift-custom-dump
[8221/23538] Fetching bigdecimal, swift-case-paths, swift-custom-dump, bigint
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.50s)
[12055/18074] Fetching bigdecimal, swift-case-paths, bigint
Fetched https://github.com/mgriebling/BigInt.git from cache (1.10s)
[1/98105] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-case-paths from cache (8.26s)
Fetched https://github.com/mgriebling/BigDecimal.git from cache (8.27s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (8.41s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.0.11 (11.13s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.53s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.08s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (1.49s)
Computing version for https://github.com/mgriebling/BigDecimal.git
Computed https://github.com/mgriebling/BigDecimal.git at 2.2.3 (0.49s)
Fetching https://github.com/mgriebling/UInt128.git
[1/1584] Fetching uint128
Fetched https://github.com/mgriebling/UInt128.git from cache (0.32s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (0.73s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.45s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.54s)
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.0.11
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/mgriebling/BigDecimal.git
Working copy of https://github.com/mgriebling/BigDecimal.git resolved at 2.2.3
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.14.1
warning: 'spi-builder-workspace': dependency 'swift-case-paths' is not used by any target
warning: 'spi-builder-workspace': dependency 'bigint' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-custom-dump' is not used by any target
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/28] Emitting module IssueReportingPackageSupport
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/28] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:476:36: error: integer literal '4738381338321616896' overflows when stored into 'UInt'
474 | 0x211e44f7d02c1000,
475 | 0x2ee56725f06e5c71,
476 | 0x41c21cb8e1000000]
| `- error: integer literal '4738381338321616896' overflows when stored into 'UInt'
477 |
478 | /// Byte array representation of magnitude value
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:475:36: error: integer literal '3379220508056640625' overflows when stored into 'UInt'
473 | 0x172588ad4f5f0981,
474 | 0x211e44f7d02c1000,
475 | 0x2ee56725f06e5c71,
| `- error: integer literal '3379220508056640625' overflows when stored into 'UInt'
476 | 0x41c21cb8e1000000]
477 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:474:36: error: integer literal '2386420683693101056' overflows when stored into 'UInt'
472 | 0x1000000000000000,
473 | 0x172588ad4f5f0981,
474 | 0x211e44f7d02c1000,
| `- error: integer literal '2386420683693101056' overflows when stored into 'UInt'
475 | 0x2ee56725f06e5c71,
476 | 0x41c21cb8e1000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:473:36: error: integer literal '1667889514952984961' overflows when stored into 'UInt'
471 | 0xaee5720ee830681,
472 | 0x1000000000000000,
473 | 0x172588ad4f5f0981,
| `- error: integer literal '1667889514952984961' overflows when stored into 'UInt'
474 | 0x211e44f7d02c1000,
475 | 0x2ee56725f06e5c71,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:472:36: error: integer literal '1152921504606846976' overflows when stored into 'UInt'
470 | 0xdd41bb36d259e000,
471 | 0xaee5720ee830681,
472 | 0x1000000000000000,
| `- error: integer literal '1152921504606846976' overflows when stored into 'UInt'
473 | 0x172588ad4f5f0981,
474 | 0x211e44f7d02c1000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:471:36: error: integer literal '787662783788549761' overflows when stored into 'UInt'
469 | 0x8e65137388122bcd,
470 | 0xdd41bb36d259e000,
471 | 0xaee5720ee830681,
| `- error: integer literal '787662783788549761' overflows when stored into 'UInt'
472 | 0x1000000000000000,
473 | 0x172588ad4f5f0981,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:470:36: error: integer literal '15943230000000000000' overflows when stored into 'UInt'
468 | 0x5a3c23e39c000000,
469 | 0x8e65137388122bcd,
470 | 0xdd41bb36d259e000,
| `- error: integer literal '15943230000000000000' overflows when stored into 'UInt'
471 | 0xaee5720ee830681,
472 | 0x1000000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:469:36: error: integer literal '10260628712958602189' overflows when stored into 'UInt'
467 | 0x383d9170b85ff80b,
468 | 0x5a3c23e39c000000,
469 | 0x8e65137388122bcd,
| `- error: integer literal '10260628712958602189' overflows when stored into 'UInt'
470 | 0xdd41bb36d259e000,
471 | 0xaee5720ee830681,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:468:36: error: integer literal '6502111422497947648' overflows when stored into 'UInt'
466 | 0x226ed36478bfa000,
467 | 0x383d9170b85ff80b,
468 | 0x5a3c23e39c000000,
| `- error: integer literal '6502111422497947648' overflows when stored into 'UInt'
469 | 0x8e65137388122bcd,
470 | 0xdd41bb36d259e000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:467:36: error: integer literal '4052555153018976267' overflows when stored into 'UInt'
465 | 0x14adf4b7320334b9,
466 | 0x226ed36478bfa000,
467 | 0x383d9170b85ff80b,
| `- error: integer literal '4052555153018976267' overflows when stored into 'UInt'
468 | 0x5a3c23e39c000000,
469 | 0x8e65137388122bcd,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:466:36: error: integer literal '2481152873203736576' overflows when stored into 'UInt'
464 | 0xc29e98000000000,
465 | 0x14adf4b7320334b9,
466 | 0x226ed36478bfa000,
| `- error: integer literal '2481152873203736576' overflows when stored into 'UInt'
467 | 0x383d9170b85ff80b,
468 | 0x5a3c23e39c000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:465:36: error: integer literal '1490116119384765625' overflows when stored into 'UInt'
463 | 0xa0e2073737609371,
464 | 0xc29e98000000000,
465 | 0x14adf4b7320334b9,
| `- error: integer literal '1490116119384765625' overflows when stored into 'UInt'
466 | 0x226ed36478bfa000,
467 | 0x383d9170b85ff80b,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:464:36: error: integer literal '876488338465357824' overflows when stored into 'UInt'
462 | 0x5658597bcaa24000,
463 | 0xa0e2073737609371,
464 | 0xc29e98000000000,
| `- error: integer literal '876488338465357824' overflows when stored into 'UInt'
465 | 0x14adf4b7320334b9,
466 | 0x226ed36478bfa000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:463:36: error: integer literal '11592836324538749809' overflows when stored into 'UInt'
461 | 0x2d04b7fdd9c0ef49,
462 | 0x5658597bcaa24000,
463 | 0xa0e2073737609371,
| `- error: integer literal '11592836324538749809' overflows when stored into 'UInt'
464 | 0xc29e98000000000,
465 | 0x14adf4b7320334b9,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:462:36: error: integer literal '6221821273427820544' overflows when stored into 'UInt'
460 | 0x16bcc41e90000000,
461 | 0x2d04b7fdd9c0ef49,
462 | 0x5658597bcaa24000,
| `- error: integer literal '6221821273427820544' overflows when stored into 'UInt'
463 | 0xa0e2073737609371,
464 | 0xc29e98000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:461:36: error: integer literal '3243919932521508681' overflows when stored into 'UInt'
459 | 0xd2ae3299c1c4aedb,
460 | 0x16bcc41e90000000,
461 | 0x2d04b7fdd9c0ef49,
| `- error: integer literal '3243919932521508681' overflows when stored into 'UInt'
462 | 0x5658597bcaa24000,
463 | 0xa0e2073737609371,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:460:36: error: integer literal '1638400000000000000' overflows when stored into 'UInt'
458 | 0x5da0e1e53c5c8000,
459 | 0xd2ae3299c1c4aedb,
460 | 0x16bcc41e90000000,
| `- error: integer literal '1638400000000000000' overflows when stored into 'UInt'
461 | 0x2d04b7fdd9c0ef49,
462 | 0x5658597bcaa24000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:459:36: error: integer literal '15181127029874798299' overflows when stored into 'UInt'
457 | 0x27b95e997e21d9f1,
458 | 0x5da0e1e53c5c8000,
459 | 0xd2ae3299c1c4aedb,
| `- error: integer literal '15181127029874798299' overflows when stored into 'UInt'
460 | 0x16bcc41e90000000,
461 | 0x2d04b7fdd9c0ef49,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:458:36: error: integer literal '6746640616477458432' overflows when stored into 'UInt'
456 | 0x1000000000000000,
457 | 0x27b95e997e21d9f1,
458 | 0x5da0e1e53c5c8000,
| `- error: integer literal '6746640616477458432' overflows when stored into 'UInt'
459 | 0xd2ae3299c1c4aedb,
460 | 0x16bcc41e90000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:457:36: error: integer literal '2862423051509815793' overflows when stored into 'UInt'
455 | 0x5b27ac993df97701,
456 | 0x1000000000000000,
457 | 0x27b95e997e21d9f1,
| `- error: integer literal '2862423051509815793' overflows when stored into 'UInt'
458 | 0x5da0e1e53c5c8000,
459 | 0xd2ae3299c1c4aedb,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:456:36: error: integer literal '1152921504606846976' overflows when stored into 'UInt'
454 | 0x1e39a5057d810000,
455 | 0x5b27ac993df97701,
456 | 0x1000000000000000,
| `- error: integer literal '1152921504606846976' overflows when stored into 'UInt'
457 | 0x27b95e997e21d9f1,
458 | 0x5da0e1e53c5c8000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:455:36: error: integer literal '6568408355712890625' overflows when stored into 'UInt'
453 | 0x780c7372621bd74d,
454 | 0x1e39a5057d810000,
455 | 0x5b27ac993df97701,
| `- error: integer literal '6568408355712890625' overflows when stored into 'UInt'
456 | 0x1000000000000000,
457 | 0x27b95e997e21d9f1,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:454:36: error: integer literal '2177953337809371136' overflows when stored into 'UInt'
452 | 0x1eca170c00000000,
453 | 0x780c7372621bd74d,
454 | 0x1e39a5057d810000,
| `- error: integer literal '2177953337809371136' overflows when stored into 'UInt'
455 | 0x5b27ac993df97701,
456 | 0x1000000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:453:36: error: integer literal '8650415919381337933' overflows when stored into 'UInt'
451 | 0x4d28cb56c33fa539,
452 | 0x1eca170c00000000,
453 | 0x780c7372621bd74d,
| `- error: integer literal '8650415919381337933' overflows when stored into 'UInt'
454 | 0x1e39a5057d810000,
455 | 0x5b27ac993df97701,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:452:36: error: integer literal '2218611106740436992' overflows when stored into 'UInt'
450 | 0x8ac7230489e80000,
451 | 0x4d28cb56c33fa539,
452 | 0x1eca170c00000000,
| `- error: integer literal '2218611106740436992' overflows when stored into 'UInt'
453 | 0x780c7372621bd74d,
454 | 0x1e39a5057d810000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:451:36: error: integer literal '5559917313492231481' overflows when stored into 'UInt'
449 | 0xa8b8b452291fe821,
450 | 0x8ac7230489e80000,
451 | 0x4d28cb56c33fa539,
| `- error: integer literal '5559917313492231481' overflows when stored into 'UInt'
452 | 0x1eca170c00000000,
453 | 0x780c7372621bd74d,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:450:36: error: integer literal '10000000000000000000' overflows when stored into 'UInt'
448 | 0x8000000000000000,
449 | 0xa8b8b452291fe821,
450 | 0x8ac7230489e80000,
| `- error: integer literal '10000000000000000000' overflows when stored into 'UInt'
451 | 0x4d28cb56c33fa539,
452 | 0x1eca170c00000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:449:36: error: integer literal '12157665459056928801' overflows when stored into 'UInt'
447 | 0x3642798750226111,
448 | 0x8000000000000000,
449 | 0xa8b8b452291fe821,
| `- error: integer literal '12157665459056928801' overflows when stored into 'UInt'
450 | 0x8ac7230489e80000,
451 | 0x4d28cb56c33fa539,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:448:36: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
446 | 0x41c21cb8e1000000,
447 | 0x3642798750226111,
448 | 0x8000000000000000,
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
449 | 0xa8b8b452291fe821,
450 | 0x8ac7230489e80000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:447:36: error: integer literal '3909821048582988049' overflows when stored into 'UInt'
445 | 0x6765c793fa10079d,
446 | 0x41c21cb8e1000000,
447 | 0x3642798750226111,
| `- error: integer literal '3909821048582988049' overflows when stored into 'UInt'
448 | 0x8000000000000000,
449 | 0xa8b8b452291fe821,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:446:36: error: integer literal '4738381338321616896' overflows when stored into 'UInt'
444 | 0x4000000000000000,
445 | 0x6765c793fa10079d,
446 | 0x41c21cb8e1000000,
| `- error: integer literal '4738381338321616896' overflows when stored into 'UInt'
447 | 0x3642798750226111,
448 | 0x8000000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:445:36: error: integer literal '7450580596923828125' overflows when stored into 'UInt'
443 | 0xa8b8b452291fe821,
444 | 0x4000000000000000,
445 | 0x6765c793fa10079d,
| `- error: integer literal '7450580596923828125' overflows when stored into 'UInt'
446 | 0x41c21cb8e1000000,
447 | 0x3642798750226111,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:444:36: error: integer literal '4611686018427387904' overflows when stored into 'UInt'
442 | 0x8000000000000000,
443 | 0xa8b8b452291fe821,
444 | 0x4000000000000000,
| `- error: integer literal '4611686018427387904' overflows when stored into 'UInt'
445 | 0x6765c793fa10079d,
446 | 0x41c21cb8e1000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:443:36: error: integer literal '12157665459056928801' overflows when stored into 'UInt'
441 | static let limbRadix: Limbs = [0, 0,
442 | 0x8000000000000000,
443 | 0xa8b8b452291fe821,
| `- error: integer literal '12157665459056928801' overflows when stored into 'UInt'
444 | 0x4000000000000000,
445 | 0x6765c793fa10079d,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:442:36: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
440 | // limbRadix[i] = i ** limbDigits[i]
441 | static let limbRadix: Limbs = [0, 0,
442 | 0x8000000000000000,
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
443 | 0xa8b8b452291fe821,
444 | 0x4000000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1752:47: error: arithmetic operation '111546435 * 29' (on type 'Int') results in an overflow
1750 |
1751 | // Small prime product (152125131763605)
1752 | static let SPP = BInt(3*5*7*11*13*17*19*23*29*31*37*41) // 12 primes
| `- error: arithmetic operation '111546435 * 29' (on type 'Int') results in an overflow
1753 |
1754 | static func smallPrime(_ bitLength: Int) -> BInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1752:50: error: arithmetic operation '-1060120681 * 31' (on type 'Int') results in an overflow
1750 |
1751 | // Small prime product (152125131763605)
1752 | static let SPP = BInt(3*5*7*11*13*17*19*23*29*31*37*41) // 12 primes
| `- error: arithmetic operation '-1060120681 * 31' (on type 'Int') results in an overflow
1753 |
1754 | static func smallPrime(_ bitLength: Int) -> BInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1752:53: error: arithmetic operation '1495997257 * 37' (on type 'Int') results in an overflow
1750 |
1751 | // Small prime product (152125131763605)
1752 | static let SPP = BInt(3*5*7*11*13*17*19*23*29*31*37*41) // 12 primes
| `- error: arithmetic operation '1495997257 * 37' (on type 'Int') results in an overflow
1753 |
1754 | static func smallPrime(_ bitLength: Int) -> BInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1752:56: error: arithmetic operation '-482676339 * 41' (on type 'Int') results in an overflow
1750 |
1751 | // Small prime product (152125131763605)
1752 | static let SPP = BInt(3*5*7*11*13*17*19*23*29*31*37*41) // 12 primes
| `- error: arithmetic operation '-482676339 * 41' (on type 'Int') results in an overflow
1753 |
1754 | static func smallPrime(_ bitLength: Int) -> BInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:64: error: integer literal '2432902008176640000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '2432902008176640000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:44: error: integer literal '121645100408832000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '121645100408832000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:26: error: integer literal '6402373705728000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '6402373705728000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:9: error: integer literal '355687428096000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '355687428096000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:60: error: integer literal '20922789888000' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '20922789888000' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:45: error: integer literal '1307674368000' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '1307674368000' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:32: error: integer literal '87178291200' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '87178291200' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:20: error: integer literal '6227020800' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '6227020800' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:66: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:47: error: integer literal '4611686018427387904' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '4611686018427387904' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:28: error: integer literal '2305843009213693952' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '2305843009213693952' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:9: error: integer literal '1152921504606846976' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '1152921504606846976' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:63: error: integer literal '576460752303423488' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '576460752303423488' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:45: error: integer literal '288230376151711744' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '288230376151711744' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:27: error: integer literal '144115188075855872' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '144115188075855872' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:9: error: integer literal '72057594037927936' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '72057594037927936' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:60: error: integer literal '36028797018963968' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '36028797018963968' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:43: error: integer literal '18014398509481984' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '18014398509481984' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:26: error: integer literal '9007199254740992' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '9007199254740992' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:9: error: integer literal '4503599627370496' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '4503599627370496' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:57: error: integer literal '2251799813685248' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '2251799813685248' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:41: error: integer literal '1125899906842624' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '1125899906842624' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:25: error: integer literal '562949953421312' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '562949953421312' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:9: error: integer literal '281474976710656' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '281474976710656' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:54: error: integer literal '140737488355328' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '140737488355328' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:39: error: integer literal '70368744177664' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '70368744177664' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:24: error: integer literal '35184372088832' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '35184372088832' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:9: error: integer literal '17592186044416' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '17592186044416' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:51: error: integer literal '8796093022208' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '8796093022208' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:37: error: integer literal '4398046511104' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '4398046511104' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:23: error: integer literal '2199023255552' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '2199023255552' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:9: error: integer literal '1099511627776' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '1099511627776' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:48: error: integer literal '549755813888' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '549755813888' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:35: error: integer literal '274877906944' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '274877906944' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:22: error: integer literal '137438953472' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '137438953472' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:9: error: integer literal '68719476736' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '68719476736' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:45: error: integer literal '34359738368' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '34359738368' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:33: error: integer literal '17179869184' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '17179869184' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:21: error: integer literal '8589934592' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '8589934592' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:9: error: integer literal '4294967296' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '4294967296' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
[13/29] Compiling IssueReportingPackageSupport _Test.swift
[15/30] Emitting module UInt128
[16/30] Compiling BigInt ToomCook.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/ToomCook.swift:22:59: error: integer literal '12297829382473034411' overflows when stored into 'UInt'
20 | let x = w &* 0xaaaaaaaaaaaaaaab
21 | quotient[i] = x
22 | remainder = x < 0x5555555555555556 ? 0 : (x < 0xaaaaaaaaaaaaaaab ? 1 : 2)
| `- error: integer literal '12297829382473034411' overflows when stored into 'UInt'
23 | }
24 | return BInt(quotient, d.isNegative)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/ToomCook.swift:22:29: error: integer literal '6148914691236517206' overflows when stored into 'UInt'
20 | let x = w &* 0xaaaaaaaaaaaaaaab
21 | quotient[i] = x
22 | remainder = x < 0x5555555555555556 ? 0 : (x < 0xaaaaaaaaaaaaaaab ? 1 : 2)
| `- error: integer literal '6148914691236517206' overflows when stored into 'UInt'
23 | }
24 | return BInt(quotient, d.isNegative)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/ToomCook.swift:20:26: error: integer literal '12297829382473034411' overflows when stored into 'UInt'
18 | for i in 0 ..< quotient.count {
19 | let w = remainder > d.words[i] ? remainder - d.words[i] : d.words[i] - remainder
20 | let x = w &* 0xaaaaaaaaaaaaaaab
| `- error: integer literal '12297829382473034411' overflows when stored into 'UInt'
21 | quotient[i] = x
22 | remainder = x < 0x5555555555555556 ? 0 : (x < 0xaaaaaaaaaaaaaaab ? 1 : 2)
[17/30] Compiling BigInt Limbs.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:66: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:47: error: integer literal '4611686018427387904' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '4611686018427387904' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:28: error: integer literal '2305843009213693952' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '2305843009213693952' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:27:9: error: integer literal '1152921504606846976' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
| `- error: integer literal '1152921504606846976' overflows when stored into 'UInt'
28 |
29 | // Ensure no leading 0 Limbs - except if self = [0]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:63: error: integer literal '576460752303423488' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '576460752303423488' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:45: error: integer literal '288230376151711744' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '288230376151711744' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:27: error: integer literal '144115188075855872' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '144115188075855872' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:26:9: error: integer literal '72057594037927936' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
| `- error: integer literal '72057594037927936' overflows when stored into 'UInt'
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
28 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:60: error: integer literal '36028797018963968' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '36028797018963968' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:43: error: integer literal '18014398509481984' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '18014398509481984' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:26: error: integer literal '9007199254740992' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '9007199254740992' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:25:9: error: integer literal '4503599627370496' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
| `- error: integer literal '4503599627370496' overflows when stored into 'UInt'
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
27 | 0x1000000000000000,0x2000000000000000,0x4000000000000000,0x8000000000000000]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:57: error: integer literal '2251799813685248' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '2251799813685248' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:41: error: integer literal '1125899906842624' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '1125899906842624' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:25: error: integer literal '562949953421312' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '562949953421312' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:24:9: error: integer literal '281474976710656' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
| `- error: integer literal '281474976710656' overflows when stored into 'UInt'
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
26 | 0x100000000000000,0x200000000000000,0x400000000000000,0x800000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:54: error: integer literal '140737488355328' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '140737488355328' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:39: error: integer literal '70368744177664' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '70368744177664' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:24: error: integer literal '35184372088832' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '35184372088832' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:23:9: error: integer literal '17592186044416' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
| `- error: integer literal '17592186044416' overflows when stored into 'UInt'
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
25 | 0x10000000000000,0x20000000000000,0x40000000000000,0x80000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:51: error: integer literal '8796093022208' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '8796093022208' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:37: error: integer literal '4398046511104' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '4398046511104' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:23: error: integer literal '2199023255552' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '2199023255552' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:22:9: error: integer literal '1099511627776' overflows when stored into 'UInt'
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
| `- error: integer literal '1099511627776' overflows when stored into 'UInt'
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
24 | 0x1000000000000,0x2000000000000,0x4000000000000,0x8000000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:48: error: integer literal '549755813888' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '549755813888' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:35: error: integer literal '274877906944' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '274877906944' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:22: error: integer literal '137438953472' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '137438953472' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:21:9: error: integer literal '68719476736' overflows when stored into 'UInt'
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
| `- error: integer literal '68719476736' overflows when stored into 'UInt'
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
23 | 0x100000000000,0x200000000000,0x400000000000,0x800000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:45: error: integer literal '34359738368' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '34359738368' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:33: error: integer literal '17179869184' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '17179869184' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:21: error: integer literal '8589934592' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '8589934592' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:20:9: error: integer literal '4294967296' overflows when stored into 'UInt'
18 | 0x1000000,0x2000000,0x4000000,0x8000000,
19 | 0x10000000,0x20000000,0x40000000,0x80000000,
20 | 0x100000000,0x200000000,0x400000000,0x800000000,
| `- error: integer literal '4294967296' overflows when stored into 'UInt'
21 | 0x1000000000,0x2000000000,0x4000000000,0x8000000000,
22 | 0x10000000000,0x20000000000,0x40000000000,0x80000000000,
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:175:27: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
173 | // self = self << 1
174 | mutating func shift1Left() {
175 | var b = self[0] & 0x8000000000000000 != 0
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
176 | self.withUnsafeMutableBufferPointer {unsafeself in
177 | unsafeself[0] <<= 1
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:179:42: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
177 | unsafeself[0] <<= 1
178 | for i in 1 ..< unsafeself.count {
179 | let b1 = unsafeself[i] & 0x8000000000000000 != 0
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
180 | unsafeself[i] <<= 1
181 | if b {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:240:42: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
238 | for i in 0 ..< unsafeself.count {
239 | if i > 0 && unsafeself[i] & 1 == 1 {
240 | unsafeself[i - 1] |= 0x8000000000000000
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
241 | }
242 | unsafeself[i] >>= 1
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:360:43: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
358 | while borrow && i < unsafeself.count {
359 | unsafeself[i] &-= 1
360 | borrow = unsafeself[i] == 0xffffffffffffffff
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
361 | i += 1
362 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:347:42: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
345 | if borrow {
346 | if unsafeself[io] == 0 {
347 | unsafeself[io] = 0xffffffffffffffff - x[i]
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
348 | // borrow still lives
349 | } else {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:392:43: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
390 | while borrow && i < unsafeself.count {
391 | unsafeself[i] &-= 1
392 | borrow = unsafeself[i] == 0xffffffffffffffff
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
393 | i += 1
394 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:379:41: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
377 | if borrow {
378 | if unsafeself[i] == 0 {
379 | unsafeself[i] = 0xffffffffffffffff - xx[i]
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
380 | // borrow still lives
381 | } else {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:412:33: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
410 | while borrow && i < self.count {
411 | self[i] &-= 1
412 | borrow = self[i] == 0xffffffffffffffff
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
413 | i += 1
414 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:588:9: error: integer literal '9223372036854775808' overflows when stored into unsigned 'Builtin.Int32'
586 | static func div128(_ u1: Limb, _ u0: Limb, _ d: Limb, _ dReciprocal: Limb) -> (q: Limb, r: Limb) {
587 | assert(u1 < d)
588 | assert(d >= 0x8000000000000000)
| `- error: integer literal '9223372036854775808' overflows when stored into unsigned 'Builtin.Int32'
589 | var ovfl = false
590 | var (q1, q0) = dReciprocal.multipliedFullWidth(by: u1)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:588:21: error: integer literal '9223372036854775808' overflows when stored into 'UInt'
586 | static func div128(_ u1: Limb, _ u0: Limb, _ d: Limb, _ dReciprocal: Limb) -> (q: Limb, r: Limb) {
587 | assert(u1 < d)
588 | assert(d >= 0x8000000000000000)
| `- error: integer literal '9223372036854775808' overflows when stored into 'UInt'
589 | var ovfl = false
590 | var (q1, q0) = dReciprocal.multipliedFullWidth(by: u1)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:618:67: error: integer literal '18446744073709551615' overflows when stored into 'UInt.Magnitude' (aka 'UInt')
616 | let n = v.leadingZeroBitCount
617 | let d = v << n
618 | let dRecip = d.dividingFullWidth((0xffffffffffffffff - d, 0xffffffffffffffff)).quotient
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt.Magnitude' (aka 'UInt')
619 | var w = self.shiftedLeft(n)
620 | var r = Limb(0)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:618:43: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
616 | let n = v.leadingZeroBitCount
617 | let d = v << n
618 | let dRecip = d.dividingFullWidth((0xffffffffffffffff - d, 0xffffffffffffffff)).quotient
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
619 | var w = self.shiftedLeft(n)
620 | var r = Limb(0)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:654:28: error: integer literal '18446744073709551615' overflows when stored into 'Limb' (aka 'UInt')
652 | repeat {
653 | if vn1 == remainder[k + n] {
654 | qhat = 0xffffffffffffffff
| `- error: integer literal '18446744073709551615' overflows when stored into 'Limb' (aka 'UInt')
655 | (rhat, ovfl) = remainder[k + n].addingReportingOverflow(remainder[k + n - 1])
656 | } else {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:649:80: error: integer literal '18446744073709551615' overflows when stored into 'UInt.Magnitude' (aka 'UInt')
647 | var k = m - n
648 | let vn1 = v[n - 1]
649 | let vReciprocal = vn1.dividingFullWidth((0xffffffffffffffff - vn1, 0xffffffffffffffff)).quotient
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt.Magnitude' (aka 'UInt')
650 | var quotient = Limbs(repeating: 0, count: k + 1)
651 | var ovfl: Bool
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Limbs.swift:649:54: error: integer literal '18446744073709551615' overflows when stored into 'UInt'
647 | var k = m - n
648 | let vn1 = v[n - 1]
649 | let vReciprocal = vn1.dividingFullWidth((0xffffffffffffffff - vn1, 0xffffffffffffffff)).quotient
| `- error: integer literal '18446744073709551615' overflows when stored into 'UInt'
650 | var quotient = Limbs(repeating: 0, count: k + 1)
651 | var ovfl: Bool
[18/30] Compiling BigInt Karatsuba.swift
[19/31] Compiling BigInt Factorial.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:64: error: integer literal '2432902008176640000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '2432902008176640000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:44: error: integer literal '121645100408832000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '121645100408832000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:26: error: integer literal '6402373705728000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '6402373705728000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:9: error: integer literal '355687428096000' overflows when stored into 'Int'
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
| `- error: integer literal '355687428096000' overflows when stored into 'Int'
16 |
17 | var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:60: error: integer literal '20922789888000' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '20922789888000' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:45: error: integer literal '1307674368000' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '1307674368000' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:32: error: integer literal '87178291200' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '87178291200' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:20: error: integer literal '6227020800' overflows when stored into 'Int'
12 | static let smallFacs: [Int] = [
13 | 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 | 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
| `- error: integer literal '6227020800' overflows when stored into 'Int'
15 | 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
[20/31] Compiling BigInt BurnikelZiegler.swift
[21/31] Compiling BigInt CRT.swift
[22/31] Compiling BigInt ExpMod.swift
[23/31] Compiling BigInt FFT.swift
[24/31] Compiling BigInt BigFrac.swift
[25/31] Compiling BigInt BigInt-Extensions.swift
[26/50] Compiling UInt128 UInt128.swift
[27/50] Compiling IssueReporting Deprecations.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:15: error: cannot find 'SecRandomCopyBytes' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:34: error: cannot find 'kSecRandomDefault' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:77: error: cannot find 'errSecSuccess' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:15: error: cannot find 'SecRandomCopyBytes' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:34: error: cannot find 'kSecRandomDefault' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:81: error: cannot find 'errSecSuccess' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
[28/50] Compiling IssueReporting XCTest.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:15: error: cannot find 'SecRandomCopyBytes' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:34: error: cannot find 'kSecRandomDefault' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1739:77: error: cannot find 'errSecSuccess' in scope
1737 | #else
1738 | static internal func randomBytes(_ bytes: inout Bytes) {
1739 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1740 | fatalError("randomBytes failed")
1741 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:15: error: cannot find 'SecRandomCopyBytes' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:34: error: cannot find 'kSecRandomDefault' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1745:81: error: cannot find 'errSecSuccess' in scope
1743 |
1744 | static internal func randomLimbs(_ limbs: inout Limbs) {
1745 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1746 | fatalError("randomLimbs failed")
1747 | }
[29/50] Compiling UInt128 Common.swift
BUILD FAILURE 6.3 wasm