Closed xfbs closed 1 year ago
Ah so this should be fixed in the develop branch, let me cut a new release so you can get it via cargo install easily
Thanks for the quick reply!
The initial issue seems to have been resolved, however now I get a different error:
error[E0412]: cannot find type `ProcessInfo` in this scope
--> /home/patrick/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-tarpaulin-0.23.0/src/event_log.rs:57:57
|
55 | impl TraceEvent {
| - help: you might be missing a type parameter: `<ProcessInfo>`
56 | #[cfg(target_os = "linux")]
57 | pub(crate) fn new_from_action(action: &TracerAction<ProcessInfo>) -> Self {
| ^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0412`.
error: could not compile `cargo-tarpaulin` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-tarpaulin v0.23.0`, intermediate artifacts can be found at `/tmp/cargo-installT6G3PX`
I get the same error by cloning the repo and building the master branch:
error[E0412]: cannot find type `ProcessInfo` in this scope
--> src/event_log.rs:57:57
|
55 | impl TraceEvent {
| - help: you might be missing a type parameter: `<ProcessInfo>`
56 | #[cfg(target_os = "linux")]
57 | pub(crate) fn new_from_action(action: &TracerAction<ProcessInfo>) -> Self {
| ^^^^^^^^^^^ not found in this scope
warning: unused import: `TraceMap`
--> src/event_log.rs:7:31
|
7 | use crate::traces::{Location, TraceMap};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
For more information about this error, try `rustc --explain E0412`.
warning: `cargo-tarpaulin` (lib) generated 1 warning
error: could not compile `cargo-tarpaulin` due to previous error; 1 warning emitted
I'm guessing this is because I'm on arm64 and it doesn't support ptrace?
ah I'm an idiot who forgot to fix one of the cfg's, I'll do that and a new patch release
Okay CI is triggered for the patch release, hopefully 0.23.1 will work for you and be up on crates.io in 10-20 minutes
Going to close this as another release is out and people have tested on m1 and aarch64 windows so confident this is now sorted. Let me know if you have any other issues though
When trying to install it with
On Debian unstable, I get the following error:
Using Rust 1.65:
I'm assuming the expected behaviour is that it should build correctly.