-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[CI] [Rust] Fix broken cargo coverage #20771
Comments
Owen Nelson / @onelson: Do you happen to know which version of the toolchain you saw this with? |
Andy Grove / @andygrove: |
Andy Grove / @andygrove: cargo install cargo-tarpaulin -f
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" When trying to run this via docker-compose it fails with: Failed to run tests: ASLR disable failed: EPERM: Operation not permitted I'm not even sure why we were using Tarpaulin when the codecov.io documentation provides a different method based on kcov: https://github.com/codecov/example-rust |
Jorge Leitão / @jorgecarleitao: I would go for Tarpaulin; it seems to be the standard for rust. I was able to make it work on our repo outside docker but it naturally doubles the build time. I am trying to move it to inside the image. |
Andy Grove / @andygrove: |
Krisztian Szucs / @kszucs: |
The Rust
cargo coverage
is failing with the following error:perhaps because it doesn't recognize Rust 2018 edition.
Reporter: Chao Sun / @sunchao
Assignee: Jorge Leitão / @jorgecarleitao
PRs and other links:
Note: This issue was originally created as ARROW-4189. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: