lalrpop: Upgrading to version 0.19.10 breaks compilation

Hello, We are using Lalrpop with version 0.19.9 and regex version 1.7.3 When we upgraded lalrpop to version 0.19.10 we are getting:

error: failed to run custom build command for `cel-parser v0.1.3-alpha.0 (/Users/omer/workspace/cel-rust/parser)`

Caused by:
  process didn't exit successfully: `/Users/omer/workspace/cel-rust/target/debug/build/cel-parser-062774afdad45860/build-script-build` (exit status: 101)
  --- stdout
  processing file `/Users/omer/workspace/cel-rust/parser/src/cel.lalrpop`

  --- stderr
  thread 'main' panicked at 'attempt to subtract with overflow', /Users/omer/.cargo/registry/src/github.com-1ecc6299db9ec823/lalrpop-0.19.10/src/lexer/dfa/overlap.rs:73:49
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Any ideas what can cause that?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 17 (12 by maintainers)

Most upvoted comments

It would be good if you can’t get a fix to yank the release, since it’s an (unintentionally) breaking change.