Closed imjasonh closed 11 months ago
FYI it seems like it was a problem with lalrpop
(based on my diff of Cargo.lock in my project). Since 20 or so minutes ago cargo update
will fix the problem.
Thanks for opening this. Sorry that we broke you, but awesome to see others using our latest released version! We also ran into this error yesterday: It is indeed an issue with lalrpop
. It should be fixed now that they've yanked 0.20.1.
I close this issue since the problematic version of lalrpop is yanked. Please feel free to reopen it if you still encounter any issues.
Thanks for the quick feedback! I've rebuilt the package with updated lalrpop, and it looks like that works!
Before opening, please confirm:
Bug Category
Cedar Parser
Describe the bug
I've built a container image containing the cedar policy CLI. At 2.4.1 parsing a simple example policy works, and at 2.4.2 it doesn't.
When 2.4.2 fails, it fails with a panic and traceback (details below)
Expected behavior
I'd expect both 2.4.2 and 2.4.1 to execute the same policy without a panic
Reproduction steps
Code Snippet
No response
Log output
No response
Additional configuration
Both packages are built using the same process, here: https://wolfi.dev/os/blob/main/cedar.yaml, basically
cargo build --release -vv
-- no funny business.The container image contains nothing else in it, which seems fine according to 2.4.1.
Operating System
Linux
Additional information and screenshots
No response