Skip to content

Hitting a recursion limit while running cargo semver-check on diesel #108

@weiznich

Description

@weiznich

Steps to reproduce the bug with the above code

git clone https://github.com/diesel-rs/diesel
cd diesel
git checkout v2.0.0
cargo semver-checks check-release --manifest-path diesel/Cargo.toml --baseline-version 1.4.8

Actual Behaviour

cargo semver-checks check-release --manifest-path diesel/Cargo.toml --baseline-version 1.4.8
    Updating index
     Parsing diesel v2.0.0 (current)
     Parsing diesel 1.4.8 (baseline)
Error: Failed to parse rustdoc JSON output file "/home/weiznich/Documents/rust/diesel/target/semver-checks/target/doc/diesel.json"

Caused by:
    recursion limit exceeded at line 1 column 203398

(The column number varies between different runs)

Expected Behaviour

cargo semver-checks check-release reports a number of API breaking changes between diesel 1.4 and diesel 2.0

Additional Context

No response

Debug Output

Software version

cargo-semver-checks 0.9.1

Operating system

Linux 5.18.18-200.fc36.x86_64

Command-line

/home/weiznich/.cargo/bin/cargo-semver-checks semver-checks --bugreport 

cargo nightly version

> cargo +nightly -V 
cargo 1.65.0-nightly (4ed54cecc 2022-08-27)

Compile time information

  • Profile: release
  • Target triple: x86_64-unknown-linux-gnu
  • Family: unix
  • OS: linux
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,llvm14-builtins-abi,sse,sse2
  • Host: x86_64-unknown-linux-gnu

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: doesn't meet expectations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions