The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build JulianDayNumber, reference main (74bbae), with Swift 6.1 for Wasm on 29 May 2025 03:25:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/JulianDayNumber.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/sbooth/JulianDayNumber
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 74bbaed Update swift.yml (#40)
Cloned https://github.com/sbooth/JulianDayNumber.git
Revision (git rev-parse @):
74bbaed28b6c2134c587b76ad77ccf21b1664439
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/JulianDayNumber.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sbooth/JulianDayNumber.git
https://github.com/sbooth/JulianDayNumber.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JulianDayNumber",
  "name" : "JulianDayNumber",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JulianDayNumber",
      "targets" : [
        "JulianDayNumber"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JulianDayNumberTests",
      "module_type" : "SwiftTarget",
      "name" : "JulianDayNumberTests",
      "path" : "Tests/JulianDayNumberTests",
      "sources" : [
        "ArmenianCalendarTests.swift",
        "AstronomicalCalendarTests.swift",
        "BahaiCalendarTests.swift",
        "CongruenceTests.swift",
        "CopticCalendarTests.swift",
        "Date+JDTests.swift",
        "EgyptianCalendarTests.swift",
        "EthiopianCalendarTests.swift",
        "FrenchRepublicanCalendarTests.swift",
        "GregorianCalendarTests.swift",
        "HebrewCalendarTests.swift",
        "ISOCalendarTests.swift",
        "IslamicCalendarTests.swift",
        "JDNRoundTripTests.swift",
        "JulianCalendarTests.swift",
        "KhwarizmianCalendarTests.swift",
        "MacedonianCalendarTests.swift",
        "MayaCalendarTests.swift",
        "PersianCalendarTests.swift",
        "SakaCalendarTests.swift",
        "SyrianCalendarTests.swift"
      ],
      "target_dependencies" : [
        "JulianDayNumber"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JulianDayNumber",
      "module_type" : "SwiftTarget",
      "name" : "JulianDayNumber",
      "path" : "Sources/JulianDayNumber",
      "product_memberships" : [
        "JulianDayNumber"
      ],
      "sources" : [
        "ArmenianCalendar.swift",
        "AstronomicalCalendar.swift",
        "BahaiCalendar.swift",
        "CopticCalendar.swift",
        "Date+JD.swift",
        "EgyptianCalendar.swift",
        "EthiopianCalendar.swift",
        "FrenchRepublicanCalendar.swift",
        "GregorianCalendar.swift",
        "HebrewCalendar.swift",
        "ISOCalendar.swift",
        "IslamicCalendar.swift",
        "JDNConverter.swift",
        "JDNGregorianTypeConverter.swift",
        "JDNSakaConverter.swift",
        "JulianCalendar.swift",
        "JulianDayNumberConverting.swift",
        "KhwarizmianCalendar.swift",
        "MacedonianCalendar.swift",
        "MayaCalendar.swift",
        "PersianCalendar.swift",
        "SakaCalendar.swift",
        "SyrianCalendar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module JulianDayNumber
[4/24] Compiling JulianDayNumber ArmenianCalendar.swift
[5/24] Compiling JulianDayNumber AstronomicalCalendar.swift
[6/24] Compiling JulianDayNumber BahaiCalendar.swift
[7/24] Compiling JulianDayNumber HebrewCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[8/24] Compiling JulianDayNumber ISOCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[9/24] Compiling JulianDayNumber IslamicCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[10/26] Compiling JulianDayNumber MacedonianCalendar.swift
[11/26] Compiling JulianDayNumber MayaCalendar.swift
[12/26] Compiling JulianDayNumber PersianCalendar.swift
[13/26] Compiling JulianDayNumber EthiopianCalendar.swift
[14/26] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[15/26] Compiling JulianDayNumber GregorianCalendar.swift
[16/26] Compiling JulianDayNumber SakaCalendar.swift
[17/26] Compiling JulianDayNumber SyrianCalendar.swift
[18/26] Compiling JulianDayNumber JulianCalendar.swift
[19/26] Compiling JulianDayNumber JulianDayNumberConverting.swift
[20/26] Compiling JulianDayNumber KhwarizmianCalendar.swift
[21/26] Compiling JulianDayNumber JDNConverter.swift
[22/26] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[23/26] Compiling JulianDayNumber JDNSakaConverter.swift
[24/26] Compiling JulianDayNumber CopticCalendar.swift
[25/26] Compiling JulianDayNumber Date+JD.swift
[26/26] Compiling JulianDayNumber EgyptianCalendar.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling JulianDayNumber JulianCalendar.swift
[3/23] Compiling JulianDayNumber JulianDayNumberConverting.swift
[4/23] Compiling JulianDayNumber KhwarizmianCalendar.swift
[5/25] Compiling JulianDayNumber ArmenianCalendar.swift
[6/25] Compiling JulianDayNumber AstronomicalCalendar.swift
[7/25] Compiling JulianDayNumber BahaiCalendar.swift
[8/25] Compiling JulianDayNumber EthiopianCalendar.swift
[9/25] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[10/25] Compiling JulianDayNumber GregorianCalendar.swift
[11/25] Compiling JulianDayNumber CopticCalendar.swift
[12/25] Compiling JulianDayNumber Date+JD.swift
[13/25] Compiling JulianDayNumber EgyptianCalendar.swift
[14/25] Compiling JulianDayNumber MacedonianCalendar.swift
[15/25] Compiling JulianDayNumber MayaCalendar.swift
[16/25] Compiling JulianDayNumber PersianCalendar.swift
[17/25] Emitting module JulianDayNumber
[18/25] Compiling JulianDayNumber HebrewCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[19/25] Compiling JulianDayNumber ISOCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[20/25] Compiling JulianDayNumber IslamicCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:217:20: error: integer literal '974245219737' overflows when stored into 'Int'
215 | 	static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
216 | 		precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
217 | 		precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '974245219737' overflows when stored into 'Int'
218 |
219 | 		// It is possible to adjust the year by a multiple of the cycle to have this function
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |   `- error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:242:20: error: integer literal '355839970905665' overflows when stored into 'Int'
240 | 	static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
241 | 		precondition(J >= epoch, "Julian day number must be >= epoch")
242 | 		precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
    |                    `- error: integer literal '355839970905665' overflows when stored into 'Int'
243 |
244 | 		let M = (25920 * (J - 347996)) / 765433 + 1
[21/25] Compiling JulianDayNumber JDNConverter.swift
[22/25] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[23/25] Compiling JulianDayNumber JDNSakaConverter.swift
[24/25] Compiling JulianDayNumber SakaCalendar.swift
[25/25] Compiling JulianDayNumber SyrianCalendar.swift
BUILD FAILURE 6.1 wasm