snoopy icon indicating copy to clipboard operation
snoopy copied to clipboard

Fail to install snoopy in Windows

Open tan-wei opened this issue 5 years ago • 4 comments

  • Rust: stable-x86_64-pc-windows-msvc 1.36.0

Here is the error log:

error[E0599]: no method named `rfmon` found for type `pcap::Capture<pcap::Inactive>` in the current scope
   --> C:\Users\Winterreise\.cargo\registry\src\github.com-1ecc6299db9ec823\snoopy-0.3.2\src\args\capture.rs:123:29
    |
123 |             device = device.rfmon(val.parse().unwrap());
    |                             ^^^^^

error[E0599]: no method named `precision` found for type `pcap::Capture<pcap::Inactive>` in the current scope
   --> C:\Users\Winterreise\.cargo\registry\src\github.com-1ecc6299db9ec823\snoopy-0.3.2\src\args\capture.rs:132:29
    |
132 |             device = device.precision(self.get_precision_type(val).unwrap());
    |                             ^^^^^^^^^

error[E0599]: no method named `tstamp_type` found for type `pcap::Capture<pcap::Inactive>` in the current scope
   --> C:\Users\Winterreise\.cargo\registry\src\github.com-1ecc6299db9ec823\snoopy-0.3.2\src\args\capture.rs:135:29
    |
135 |             device = device.tstamp_type(self.get_tstamp_type(val).unwrap());
    |                             ^^^^^^^^^^^

error[E0599]: no method named `tstamp_type` found for type `pcap::Capture<pcap::Inactive>` in the current scope
   --> C:\Users\Winterreise\.cargo\registry\src\github.com-1ecc6299db9ec823\snoopy-0.3.2\src\args\capture.rs:138:29
    |
138 |             device = device.tstamp_type(self.get_tstamp_type(val).unwrap());
    |                             ^^^^^^^^^^^

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `snoopy v0.3.2`, intermediate artifacts can be found at `C:\Users\WINTER~1\AppData\Local\Temp\cargo-installWcR5vc`

Caused by:
  Could not compile `snoopy`.

To learn more, run the command again with --verbose.

Thanks!

tan-wei avatar Jul 25 '19 09:07 tan-wei

Sorry, I shall fix this and update you soon!

kanishkarj avatar Jul 27 '19 21:07 kanishkarj

Sorry, I shall fix this and update you soon!

Thanks for your reply.

tan-wei avatar Jul 28 '19 04:07 tan-wei

How is the state of this issue?

micartey avatar Dec 15 '22 07:12 micartey

Seems not OK for now.

tan-wei avatar Dec 25 '22 14:12 tan-wei