The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwissEphemeris, reference main (9d9ac6), with Swift 6.1 for Wasm on 28 May 2025 11:47:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vsmithers1087/SwissEphemeris.git
https://github.com/vsmithers1087/SwissEphemeris.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwissEphemeris",
  "name" : "SwissEphemeris",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwissEphemeris",
      "targets" : [
        "SwissEphemeris"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwissEphemerisTests",
      "module_type" : "SwiftTarget",
      "name" : "SwissEphemerisTests",
      "path" : "Tests/SwissEphemerisTests",
      "sources" : [
        "CelestialBodyTests.swift",
        "FixedStarsTests.swift",
        "Mock.swift",
        "PerformanceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwissEphemeris"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwissEphemeris",
      "module_type" : "SwiftTarget",
      "name" : "SwissEphemeris",
      "path" : "Sources/SwissEphemeris",
      "product_memberships" : [
        "SwissEphemeris"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/ast_list.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seas_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sedeltat.txt.inactive",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sefstars.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seleapsec.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/semo_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seorbel.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sepl_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/swedecl.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/swedecl64.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sweph.sln",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Aspect.swift",
        "Asteroid.swift",
        "Ayanamsha.swift",
        "Coordinate.swift",
        "Cusp.swift",
        "Extensions/Date+JulianDate.swift",
        "Extensions/Date+Strideable.swift",
        "FixedStar.swift",
        "HouseCusps.swift",
        "HouseSystem.swift",
        "LunarMansion.swift",
        "LunarNorthNode.swift",
        "LunarSouthNode.swift",
        "Lunation.swift",
        "Pair.swift",
        "Planet.swift",
        "PlanetPairs.swift",
        "Protocols/BatchRequest.swift",
        "Protocols/CelestialBody.swift",
        "Protocols/ZodiacMappable.swift",
        "RiseTime.swift",
        "SetTime.swift",
        "Station.swift",
        "Utility/JPLFileManager.swift",
        "Utility/PlanetsRequest.swift",
        "Zodiac.swift",
        "ZodiacCoordinate.swift"
      ],
      "target_dependencies" : [
        "CSwissEphemeris"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwissEphemeris",
      "module_type" : "ClangTarget",
      "name" : "CSwissEphemeris",
      "path" : "Sources/CSwissEphemeris",
      "product_memberships" : [
        "SwissEphemeris"
      ],
      "sources" : [
        "sweph/src/swecl.c",
        "sweph/src/swedate.c",
        "sweph/src/swehel.c",
        "sweph/src/swehouse.c",
        "sweph/src/swejpl.c",
        "sweph/src/swemmoon.c",
        "sweph/src/swemplan.c",
        "sweph/src/sweph.c",
        "sweph/src/swephlib.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/22] Copying sweph.sln
[1/22] Copying swedecl64.txt
[2/22] Copying swedecl.txt
[3/22] Copying sepl_18.se1
[3/22] Copying seorbel.txt
[5/22] Copying semo_18.se1
[5/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 swemmoon.c
/host/spi-builder-workspace/Sources/CSwissEphemeris/sweph/src/sweph.c:257:10: error: unknown type name 'Dl_info'
  257 |   static Dl_info dli;
      |          ^
/host/spi-builder-workspace/Sources/CSwissEphemeris/sweph/src/sweph.c:273:9: error: call to undeclared function 'dladdr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  273 |     if (dladdr((void *)swe_version, &dli) != 0) {
      |         ^
2 errors generated.
[15/22] Compiling sweph.c
[15/22] Compiling swemplan.c
[15/22] Compiling swephlib.c
[15/22] Compiling swehouse.c
[15/22] Compiling swecl.c
[15/22] Write swift-version-24593BA9C3E375BF.txt
[15/22] Compiling swehel.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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...
/host/spi-builder-workspace/Sources/CSwissEphemeris/sweph/src/sweph.c:257:10: error: unknown type name 'Dl_info'
  257 |   static Dl_info dli;
      |          ^
/host/spi-builder-workspace/Sources/CSwissEphemeris/sweph/src/sweph.c:273:9: error: call to undeclared function 'dladdr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  273 |     if (dladdr((void *)swe_version, &dli) != 0) {
      |         ^
2 errors generated.
[0/7] Compiling sweph.c
[0/7] Compiling swecl.c
[0/7] Compiling swephlib.c
[0/7] Compiling swehel.c
[0/7] Compiling swehouse.c
[0/7] Compiling swemplan.c
[0/7] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm