Build Information
Failed to build JulianDayNumber, reference 0.6.0 (17820a
), with Swift 6.1 for Wasm on 29 May 2025 03:24:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.6.0
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
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 17820a5 Fix for dates belonging to previous year (#34)
Cloned https://github.com/sbooth/JulianDayNumber.git
Revision (git rev-parse @):
17820a58c74891ab8801aef35d7188fbcd2931af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/JulianDayNumber.git at 0.6.0
========================================
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-4609320-2":/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] Compiling JulianDayNumber HebrewCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[4/24] Compiling JulianDayNumber ISOCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[5/24] Compiling JulianDayNumber IslamicCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[6/26] Compiling JulianDayNumber CopticCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | /// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | /// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | public static var j2000 = Date(julianDate: J2000JD_UTC)
| |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'j2000' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[7/26] Compiling JulianDayNumber Date+JD.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | /// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | /// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | public static var j2000 = Date(julianDate: J2000JD_UTC)
| |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'j2000' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[8/26] Compiling JulianDayNumber EgyptianCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | /// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | /// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | public static var j2000 = Date(julianDate: J2000JD_UTC)
| |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'j2000' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[9/26] Compiling JulianDayNumber EthiopianCalendar.swift
[10/26] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[11/26] Compiling JulianDayNumber GregorianCalendar.swift
[12/26] Emitting module JulianDayNumber
/host/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | /// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | /// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | public static var j2000 = Date(julianDate: J2000JD_UTC)
| |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'j2000' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[13/26] Compiling JulianDayNumber ArmenianCalendar.swift
[14/26] Compiling JulianDayNumber AstronomicalCalendar.swift
[15/26] Compiling JulianDayNumber BahaiCalendar.swift
[16/26] Compiling JulianDayNumber JDNConverter.swift
[17/26] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[18/26] Compiling JulianDayNumber JDNSakaConverter.swift
[19/26] Compiling JulianDayNumber JulianCalendar.swift
[20/26] Compiling JulianDayNumber JulianDayNumberConverting.swift
[21/26] Compiling JulianDayNumber KhwarizmianCalendar.swift
[22/26] Compiling JulianDayNumber MacedonianCalendar.swift
[23/26] Compiling JulianDayNumber MayaCalendar.swift
[24/26] Compiling JulianDayNumber PersianCalendar.swift
[25/26] Compiling JulianDayNumber SakaCalendar.swift
[26/26] Compiling JulianDayNumber SyrianCalendar.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 ArmenianCalendar.swift
[3/23] Compiling JulianDayNumber AstronomicalCalendar.swift
[4/23] Compiling JulianDayNumber BahaiCalendar.swift
[5/25] Emitting module JulianDayNumber
[6/25] Compiling JulianDayNumber EthiopianCalendar.swift
[7/25] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[8/25] Compiling JulianDayNumber GregorianCalendar.swift
[9/25] Compiling JulianDayNumber CopticCalendar.swift
[10/25] Compiling JulianDayNumber Date+JD.swift
[11/25] Compiling JulianDayNumber EgyptianCalendar.swift
[12/25] Compiling JulianDayNumber JDNConverter.swift
[13/25] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[14/25] Compiling JulianDayNumber JDNSakaConverter.swift
[15/25] Compiling JulianDayNumber HebrewCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[16/25] Compiling JulianDayNumber ISOCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[17/25] Compiling JulianDayNumber IslamicCalendar.swift
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:3: error: integer literal '974245219737' overflows when stored into signed 'Builtin.Int32'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | 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'
220 |
221 | // 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:219:20: error: integer literal '974245219737' overflows when stored into 'Int'
217 | static func firstDayOfTishrei(year Y: Int) -> JulianDayNumber {
218 | precondition(Y > 0, "First day of Tishrei calculations only valid for year numbers > 0")
219 | precondition(Y < 974245219737, "Year values above 974245219736 cause numerical overflow using 64-bit integers")
| `- error: integer literal '974245219737' overflows when stored into 'Int'
220 |
221 | // 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:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:3: error: integer literal '355839970905665' overflows when stored into signed 'Builtin.Int32'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | 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'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
/host/spi-builder-workspace/Sources/JulianDayNumber/HebrewCalendar.swift:244:20: error: integer literal '355839970905665' overflows when stored into 'Int'
242 | static func yearContaining(julianDayNumber J: JulianDayNumber) -> Int {
243 | precondition(J >= epoch, "Julian day number must be >= epoch")
244 | precondition(J < 355839970905665, "Julian day numbers above 355839970905664 cause numerical overflow using 64-bit integers")
| `- error: integer literal '355839970905665' overflows when stored into 'Int'
245 |
246 | let M = (25920 * (J - 347996)) / 765433 + 1
[18/25] Compiling JulianDayNumber JulianCalendar.swift
[19/25] Compiling JulianDayNumber JulianDayNumberConverting.swift
[20/25] Compiling JulianDayNumber KhwarizmianCalendar.swift
[21/25] Compiling JulianDayNumber MacedonianCalendar.swift
[22/25] Compiling JulianDayNumber MayaCalendar.swift
[23/25] Compiling JulianDayNumber PersianCalendar.swift
[24/25] Compiling JulianDayNumber SakaCalendar.swift
[25/25] Compiling JulianDayNumber SyrianCalendar.swift
BUILD FAILURE 6.1 wasm