Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Parsing <library-name-and-version> (current) lines emitted #378

Closed
obi1kenobi opened this issue Feb 21, 2023 · 1 comment · Fixed by #381
Closed

Duplicate Parsing <library-name-and-version> (current) lines emitted #378

obi1kenobi opened this issue Feb 21, 2023 · 1 comment · Fixed by #381
Labels
C-bug Category: doesn't meet expectations

Comments

@obi1kenobi
Copy link
Owner

Steps to reproduce the bug with the above code

Inside the cargo-semver-checks repo, run: cargo run -- semver-checks check-release.

Actual Behaviour

$ cargo run -- semver-checks check-release
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/cargo-semver-checks semver-checks check-release`
     Parsing cargo-semver-checks v0.18.2 (current)
     Parsing cargo-semver-checks v0.18.2 (current)
     Parsing cargo-semver-checks v0.18.2 (baseline)
    Checking cargo-semver-checks v0.18.2 -> v0.18.2 (no change)
   Completed [   0.768s] 41 checks; 41 passed, 0 unnecessary

Note the two current lines.

Expected Behaviour

$ cargo run -- semver-checks check-release
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/cargo-semver-checks semver-checks check-release`
     Parsing cargo-semver-checks v0.18.2 (current)
     Parsing cargo-semver-checks v0.18.2 (baseline)
    Checking cargo-semver-checks v0.18.2 -> v0.18.2 (no change)
   Completed [   0.768s] 41 checks; 41 passed, 0 unnecessary

Note there's only one current line, not two.

Generated System Information

Software version

cargo-semver-checks 0.18.2

Operating system

Linux 5.15.79.1-microsoft-standard-WSL2

Command-line

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

cargo version

> cargo -V 
cargo 1.69.0-nightly (17b3d0de0 2023-02-17)

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

Build Configuration

No response

Additional Context

No response

@obi1kenobi obi1kenobi added the C-bug Category: doesn't meet expectations label Feb 21, 2023
@obi1kenobi
Copy link
Owner Author

Perhaps @tonowak if you'd like to take a look. I'm chasing down some of the user experience issues surfaced in #376 right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: doesn't meet expectations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant