6.1+ compiler crash (Assertion failed: (!operand->getType().isTrivial(getFunction())) #80573
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
Swift's compiler crashes when compiling Destiny (my upcoming networking library). Compiler crashes using the 6.1-RELEASE and main-snapshot-04-03 toolchains when trying to build.
Successfully compiles using 6.0.3.
Reproduction
swift build
using 6.1 or later toolchainStack dump
Expected behavior
Compilation to succeed.
Environment
Swift
Swift version 6.1 (swift-6.1-RELEASE)
Target: x86_64-unknown-linux-gnu
OS
Arch Linux (6.13.8-arch1-1)
IDE
VS Code (1.98.2)
Swift VS Code extension
2.0.2
Swiftly
1.0.0
Additional information
Crash originates from the https://github.com/RandomHashTags/destiny/blob/008e3a3a425f7e9088874e113ff3066e6655947d/Sources/DestinyDefaults/Request.swift file (
query
variable):referenced
SIMD64<UInt8>
function extensions can be found atThe text was updated successfully, but these errors were encountered: