Closed zaneenders closed 2 weeks ago
I thought I had fixed all the issues with Environment. Musl is obviously showing up some new ones.
Unfortunately it seems I can't run the static linux SDK on the most recent macOS beta.
I am running macOS 14.5 (23F79)
.
But I am getting a crash, which seems associated with the SwiftService lifecycle and the merge code from AsyncAlgorithms.
AsyncAlgorithms/MergeStateMachine.swift:176: Fatal error: Internal inconsistency current state initial(base1: Swift.AsyncMapSequence<ServiceLifecycle.AsyncMapNilSequence<AsyncAlgorithms.AsyncTimerSequence<Swift.SuspendingClock>>, ServiceLifecycle.AsyncCancelOnGracefulShutdownSequence<AsyncAlgorithms.AsyncTimerSequence<Swift.SuspendingClock>>._ElementOrGracefulShutdown>(base: ServiceLifecycle.AsyncMapNilSequence<AsyncAlgorithms.AsyncTimerSequence<Swift.SuspendingClock>>(_base: AsyncAlgorithms.AsyncTimerSequence<Swift.SuspendingClock>(clock: Swift.SuspendingClock(), interval: 1.0 seconds, tolerance: nil)), transform: (Function)), base2: Swift.AsyncMapSequence<ServiceLifecycle.AsyncMapNilSequence<ServiceLifecycle.AsyncGracefulShutdownSequence>, ServiceLifecycle.AsyncCancelOnGracefulShutdownSequence<AsyncAlgorithms.AsyncTimerSequence<Swift.SuspendingClock>>._ElementOrGracefulShutdown>(base: ServiceLifecycle.AsyncMapNilSequence<ServiceLifecycle.AsyncGracefulShutdownSequence>(_base: ServiceLifecycle.AsyncGracefulShutdownSequence()), transform: (Function)), base3: nil) and received childTaskSuspended()
This should fix the crash https://github.com/apple/swift-async-algorithms/pull/325
I'm going to close this as the issue has been resolved elsewhere. Just need to wait for a 1.0.1 of swift-async-algorithms
Hi,
I know this is getting ahead of things but hoping the heads up helps.
I tried compiling
hummingbird
using Swift 6 and the static Linux sdx using these instructions.I got the following errors. Though I'm not sure how to fix them just yet.
This is on the main branch of hummingbird
a1028d2
and compiling the project usingswift build --swift-sdk x86_64-swift-linux-musl -c release
Compiler and SDK
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-21-a-osx.pkg
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a_static-linux-0.0.1.artifactbundle.tar
Thanks, Zane