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

cargo test --release fails #6809

Closed
matthiaskrgr opened this issue Feb 27, 2021 · 0 comments · Fixed by #7631
Closed

cargo test --release fails #6809

matthiaskrgr opened this issue Feb 27, 2021 · 0 comments · Fixed by #7631
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@matthiaskrgr
Copy link
Member

While cargo test seems to work, cargo test --release does not (anymore):

   Compiling clippy v0.1.52 (/home/matthias/vcs/github/rust-clippy)
    Finished release [optimized] target(s) in 6.91s
     Running target/release/deps/clippy_driver-2d16f1636e113d99

running 1 test
test test_arg_value ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running target/release/deps/compile_test-8a1f0a367797563f

running 1 test
test compile_test ... FAILED

failures:

---- compile_test stdout ----
thread 'compile_test' panicked at 'Found multiple rlibs for crate `quote`: `"/home/matthias/vcs/github/rust-clippy/target/release/deps/libquote-c35bc5b02ebcb91f.rlib"` and `"/home/matthias/vcs/github/rust-clippy/target/release/deps/libquote-fd45c4f9e010e7d6.rlib"', tests/compile-test.rs:51:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    compile_test

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass '--test compile-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant