The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwissEphemeris with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsmithers1087/SwissEphemeris.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/vsmithers1087/SwissEphemeris
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d9ac62 Make ZodiacCoordinate init public (#18)
Cloned https://github.com/vsmithers1087/SwissEphemeris.git
Revision (git rev-parse @):
9d9ac62383eafa176e744af1130dcb0da17ca325
SUCCESS checkout https://github.com/vsmithers1087/SwissEphemeris.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vsmithers1087/SwissEphemeris.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/22] Copying sweph.sln
[1/22] Copying swedecl64.txt
[2/22] Copying swedecl.txt
[3/22] Copying sepl_18.se1
[4/22] Copying seorbel.txt
[5/22] Copying semo_18.se1
[6/22] Copying seleapsec.txt
[7/22] Copying sefstars.txt
[8/22] Copying sedeltat.txt.inactive
[9/22] Copying seas_18.se1
[10/22] Copying ast_list.txt
[11/22] Write sources
[12/22] Compiling swedate.c
[13/22] Compiling swejpl.c
[14/22] Compiling swehouse.c
[15/22] Write swift-version-24593BA9C3E375BF.txt
[15/22] Compiling swehel.c
[17/22] Compiling swemmoon.c
[18/22] Compiling swemplan.c
[19/22] Compiling swephlib.c
[20/22] Compiling swecl.c
[21/22] Compiling sweph.c
[23/48] Emitting module SwissEphemeris
[24/51] Compiling SwissEphemeris Zodiac.swift
[25/51] Compiling SwissEphemeris ZodiacCoordinate.swift
[26/51] Compiling SwissEphemeris resource_bundle_accessor.swift
[27/51] Compiling SwissEphemeris HouseCusps.swift
[28/51] Compiling SwissEphemeris HouseSystem.swift
[29/51] Compiling SwissEphemeris LunarMansion.swift
[30/51] Compiling SwissEphemeris LunarNorthNode.swift
[31/51] Compiling SwissEphemeris ZodiacMappable.swift
[32/51] Compiling SwissEphemeris RiseTime.swift
[33/51] Compiling SwissEphemeris SetTime.swift
[34/51] 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))
                                         ^
                                             !
[35/51] 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))
                                         ^
                                             !
[36/51] 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))
                                         ^
                                             !
[37/51] Compiling SwissEphemeris PlanetPairs.swift
[38/51] Compiling SwissEphemeris BatchRequest.swift
[39/51] Compiling SwissEphemeris CelestialBody.swift
[40/51] Compiling SwissEphemeris Aspect.swift
[41/51] Compiling SwissEphemeris Asteroid.swift
[42/51] Compiling SwissEphemeris Ayanamsha.swift
[43/51] Compiling SwissEphemeris Coordinate.swift
[44/51] Compiling SwissEphemeris LunarSouthNode.swift
[45/51] Compiling SwissEphemeris Lunation.swift
[46/51] Compiling SwissEphemeris Pair.swift
[47/51] Compiling SwissEphemeris Planet.swift
[48/51] Compiling SwissEphemeris Cusp.swift
[49/51] Compiling SwissEphemeris Date+JulianDate.swift
[50/51] Compiling SwissEphemeris Date+Strideable.swift
[51/51] Compiling SwissEphemeris FixedStar.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SwissEphemeris PlanetsRequest.swift
[3/5] 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))
                                         ^
                                             !
[4/5] Compiling SwissEphemeris Station.swift
[5/5] Emitting module SwissEphemeris
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2