Hello all. I'm running into a weird issue with th...
# help
m
Hello all. I'm running into a weird issue with the embedded library in a nestjs application. Here is the error I'm getting and I can't figure out for the life of me where to even start:
Copy code
RuntimeError: unreachable
    at rust_panic (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:108916)
    at _ZN3std9panicking20rust_panic_with_hook17h4501cceb7dbe383dE (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:108904)
    at _ZN3std9panicking19begin_panic_handler28_$u7b$$u7b$closure$u7d$$u7d$17hc2b9d3fc26dda7f9E (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:109126)
    at _ZN3std3sys9backtrace26__rust_end_short_backtrace17hf6a83a0a2155b9c0E (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:108938)
    at rust_begin_unwind (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:88061)
    at _ZN4core9panicking9panic_fmt17h619600efce2da276E (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:83181)
    at _ZN4core9panicking5panic17h33e5dee0c2e78184E (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:39439)
    at __rust_dealloc (https://cdn.cerbos.cloud/pid_-5825791762986962624/lite/bundle/dab92eda16f19d3643e91b3c4413990f29276af36bc433f0fb42457debbb8a14.wasm:1:28605)
    at _ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17hdd9
Can someone help me with this?
d
Hi Mitch, this looks like an issue in the Wasm engine. To resolve it, we must trace it down to the expression that caused it. If you can DM me your policies, I will investigate.