The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwissEphemeris with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsmithers1087/SwissEphemeris.git
Reference: main
Cloned https://github.com/vsmithers1087/SwissEphemeris.git into spi-builder-workspace
SUCCESS checkout https://github.com/vsmithers1087/SwissEphemeris.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/20] Copying seorbel.txt
[1/20] Copying ast_list.txt
[1/20] Copying seas_18.se1
[1/20] Copying sweph.sln
[1/20] Copying swedecl64.txt
[1/20] Copying swedecl.txt
[1/20] Copying seleapsec.txt
[1/20] Copying sefstars.txt
[1/20] Copying sepl_18.se1
[1/20] Copying sedeltat.txt.inactive
[10/20] Copying semo_18.se1
[11/20] Compiling swejpl.c
[12/20] Compiling swemmoon.c
[13/20] Compiling swedate.c
[14/20] Compiling swemplan.c
[15/20] Compiling swehouse.c
[16/20] Compiling swehel.c
[17/20] Compiling swephlib.c
[18/20] Compiling swecl.c
[19/20] Compiling sweph.c
[21/46] Emitting module SwissEphemeris
[22/49] Compiling SwissEphemeris Station.swift
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
                swe_set_ephe_path(strdup(path))
                                         ^
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                              ?? <#default value#>
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                             !
[23/49] Compiling SwissEphemeris JPLFileManager.swift
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
                swe_set_ephe_path(strdup(path))
                                         ^
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                              ?? <#default value#>
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                             !
[24/49] Compiling SwissEphemeris PlanetsRequest.swift
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
                swe_set_ephe_path(strdup(path))
                                         ^
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                              ?? <#default value#>
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                swe_set_ephe_path(strdup(path))
                                         ^
                                             !
[25/49] Compiling SwissEphemeris Cusp.swift
[26/49] Compiling SwissEphemeris Date+JulianDate.swift
[27/49] Compiling SwissEphemeris Date+Strideable.swift
[28/49] Compiling SwissEphemeris FixedStar.swift
[29/49] Compiling SwissEphemeris Aspect.swift
[30/49] Compiling SwissEphemeris Asteroid.swift
[31/49] Compiling SwissEphemeris Ayanamsha.swift
[32/49] Compiling SwissEphemeris Coordinate.swift
[33/49] Compiling SwissEphemeris Zodiac.swift
[34/49] Compiling SwissEphemeris ZodiacCoordinate.swift
[35/49] Compiling SwissEphemeris resource_bundle_accessor.swift
[36/49] Compiling SwissEphemeris PlanetPairs.swift
[37/49] Compiling SwissEphemeris BatchRequest.swift
[38/49] Compiling SwissEphemeris CelestialBody.swift
[39/49] Compiling SwissEphemeris ZodiacMappable.swift
[40/49] Compiling SwissEphemeris RiseTime.swift
[41/49] Compiling SwissEphemeris SetTime.swift
[42/49] Compiling SwissEphemeris LunarSouthNode.swift
[43/49] Compiling SwissEphemeris Lunation.swift
[44/49] Compiling SwissEphemeris Pair.swift
[45/49] Compiling SwissEphemeris Planet.swift
[46/49] Compiling SwissEphemeris HouseCusps.swift
[47/49] Compiling SwissEphemeris HouseSystem.swift
[48/49] Compiling SwissEphemeris LunarMansion.swift
[49/49] Compiling SwissEphemeris LunarNorthNode.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2