Avatar
Avatar
Iceman
@swift-5.6.3 import Foundation struct S { @TaskLocal static var foo: Date? } extension Date: @unchecked Sendable {} print(S.foo ?? "nil")
exit status: 134 with stderr:swift-frontend: /home/buildnode/jenkins/workspace/oss-swift-5.6-package-linux-ubuntu-18_04/swift/lib/AST/ASTMangler.cpp:2256: void swift::Mangle::ASTMangler::appendProtocolName(const swift::ProtocolDecl *, bool): Assertion `AllowMarkerProtocols || !protocol->isMarkerProtocol()' failed. Stack dump: 0. Program arguments: /usr/bin/swift-frontend -frontend -interpret - -disable-objc-interop -new-driver-path /usr/bin/swift-driver -resource-dir /usr/lib/swift -module-name main 1. Swift version 5.6-dev (LLVM 62b900d3d0d5be9, Swift ce64fe8867792d4) 2. Compiling with the current language version 3. While running user code "<stdin>" 4. While evaluating request IRGenRequest(IR Generation for module main) 5. While emitting IR SIL function "@$s4main1SV4_foo33_1A61A3E7348A44FC8FF8726B26BEB4EDLL_WZ". for declaration 0xb52a178 (in module 'main') Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): /usr/bin/swift-frontend[0x5fa5913] /usr/bin/swift-frontend[0x5fa34be] /usr/bin/swift-frontend[0x5fa5ca6] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f04a53ea980] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f04a3675fb7] /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f04a3677921] /lib/x86_64-linux-gnu/libc.so.6(+0x3048a)[0x7f04a366748a] /lib/x86_64-linux-gnu/libc.so.6(+0x30502)[0x7f04a3667502] /usr/bin/swift-frontend[0x18b2295] /usr/bin/swift-frontend[0x18bf416] /usr/bin/swift-frontend[0x18bc204] /usr/bin/swift-frontend[0x18bae49] /usr/bin/swift-frontend[0x18b95ae] /usr/bin/swift-frontend[0x18b4065] /usr/bin/swift-frontend[0xb2e76d] /usr/bin/swift-frontend[0xb2e9e1] /usr/bin/swift-frontend[0xad4e6f] /usr/bin/swift-frontend[0x9b1875] /usr/bin/swift-frontend[0x9b4b74] /usr/bin/swift-frontend[0xb3bc80] /usr/bin/swift-frontend[0xb3329b] /usr/bin/swift-frontend[0xb303dc] /usr/bin/swift-frontend[0xa2d3db] /usr/bin/swift-frontend[0x95ae10] /usr/bin/swift-fro