Xcode 13.2.1 "availability" related crash

This app crashes on Xcode 13.2.1 when running on iOS 14. Release mode, both device & simulator affected. The crash immediate cause is related to demangle (demangleSymbolicReference, etc, can't collect the crash log now as I've downgraded to Xcode 13.1 to not be affected by the crash). The crash is very similar in form to being discussed here but the two might have very different root causes.

struct ContentView: View {
    @State var searchText = ""
    
    var body: some View {
        NavigationView {
            if #available(iOS 15.0, *) {
                Text("Hello, world!")
                    .searchable(text: $searchText)
            } else {
                Text("Hello, world!")
            }
        }
    }
}

@main struct TestApp: App {
    var body: some Scene {
        WindowGroup { ContentView() }
    }
}