nccgroup / scrying

A tool for collecting RDP, web and VNC screenshots all in one place
Other
439 stars 54 forks source link

version for armhf arch? #35

Closed Havivw closed 3 years ago

sciguy16 commented 3 years ago

Are you able to compile it from source on armhf? I haven't been able to do any testing on ARM yet, and cross-compiling from x86_64 requires cross-compiling a bunch of -sys libraries separately. Unfortunately Github Actions doesn't provide ARM-based runners (https://github.com/actions/virtual-environments/issues/2536) so any builds will have to be done via qemu or an external runner.

I can have a go at building it on a raspberry pi, but can't give any timescales for when I'll have time to do that.

The OpenSSL sub-dependency helpfully provides a vendored feature to build it as part of the cargo build process, but the other -sys subdependencies will need building manually

[target.arm-unknown-linux-gnueabihf.dependencies]
openssl-sys = { version = "0.9", features = ["vendored"] }
Havivw commented 3 years ago

there is any chance you have a manual to compile it from source code? i can try to compile it on Raspberry..

Havivw commented 3 years ago

i get this errors while compile Main.rs '''error[E0432]: unresolved import log --> main.rs:23:5 | 23 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0432]: unresolved import simplelog --> main.rs:25:5 | 25 | use simplelog::{ | ^^^^^^^^^ maybe a missing crate simplelog?

error[E0432]: unresolved import clap --> argparse.rs:20:5 | 20 | use clap::{crate_version, App, AppSettings, Arg, ArgGroup}; | ^^^^ maybe a missing crate clap?

error[E0432]: unresolved import Mode --> argparse.rs:37:13 | 37 | use Mode::*; | ^^^^ help: a similar path exists: self::Mode

error[E0432]: unresolved import Mode --> argparse.rs:52:13 | 52 | use Mode::{Auto, Rdp, Vnc, Web}; | ^^^^ help: a similar path exists: self::Mode

error[E0432]: unresolved import log --> parsing/mod.rs:22:5 | 22 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0433]: failed to resolve: maybe a missing crate nmap_xml_parser? --> parsing/mod.rs:24:5 | 24 | use nmap_xml_parser::{port::PortState, NmapResults}; | ^^^^^^^^^^^^^^^ maybe a missing crate nmap_xml_parser?

error[E0432]: unresolved import nessus_xml_parser --> parsing/mod.rs:23:5 | 23 | use nessus_xml_parser::NessusScan; | ^^^^^^^^^^^^^^^^^ maybe a missing crate nessus_xml_parser?

error[E0432]: unresolved import nmap_xml_parser --> parsing/mod.rs:24:5 | 24 | use nmap_xml_parser::{port::PortState, NmapResults}; | ^^^^^^^^^^^^^^^ maybe a missing crate nmap_xml_parser?

error[E0432]: unresolved import url --> parsing/mod.rs:29:5 | 29 | use url::Url; | ^^^ maybe a missing crate url?

error[E0432]: unresolved import url --> parsing/mod.rs:78:13 | 78 | use url::Host; | ^^^ maybe a missing crate url?

error[E0432]: unresolved import Mode --> parsing/mod.rs:81:13 | 81 | use Mode::*; | ^^^^ help: a similar path exists: self::Mode

error[E0433]: failed to resolve: maybe a missing crate nmap_xml_parser? --> parsing/mod.rs:616:9 | 616 | use nmap_xml_parser::host::Address; | ^^^^^^^^^^^^^^^ maybe a missing crate nmap_xml_parser?

error[E0432]: unresolved import Mode --> parsing/mod.rs:357:9 | 357 | use Mode::*; | ^^^^ help: a similar path exists: self::Mode

error[E0432]: unresolved import image --> rdp/mod.rs:28:5 | 28 | use image::{DynamicImage, ImageBuffer, Rgba}; | ^^^^^ maybe a missing crate image?

error[E0432]: unresolved import log --> rdp/mod.rs:30:5 | 30 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0432]: unresolved import socks --> rdp/mod.rs:34:5 | 34 | use socks::Socks5Stream; | ^^^^^ maybe a missing crate socks?

error[E0432]: unresolved import ImageMode --> rdp/mod.rs:66:13 | 66 | use ImageMode::*; | ^^^^^^^^^ help: a similar path exists: self::ImageMode

error[E0432]: unresolved import ImageMode --> rdp/mod.rs:85:13 | 85 | use ImageMode::*; | ^^^^^^^^^ help: a similar path exists: self::ImageMode

error[E0432]: unresolved import ImageMode --> rdp/mod.rs:150:13 | 150 | use ImageMode::*; | ^^^^^^^^^ help: a similar path exists: self::ImageMode

error[E0432]: unresolved import SocketType --> rdp/mod.rs:206:13 | 206 | use SocketType::*; | ^^^^^^^^^^ help: a similar path exists: self::SocketType

error[E0432]: unresolved import SocketType --> rdp/mod.rs:219:13 | 219 | use SocketType::*; | ^^^^^^^^^^ help: a similar path exists: self::SocketType

error[E0432]: unresolved import SocketType --> rdp/mod.rs:226:13 | 226 | use SocketType::*; | ^^^^^^^^^^ help: a similar path exists: self::SocketType

error[E0432]: unresolved import askama --> reporting.rs:25:5 | 25 | use askama::Template; | ^^^^^^ maybe a missing crate askama?

error[E0432]: unresolved import log --> reporting.rs:32:5 | 32 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0432]: unresolved import Mode --> reporting.rs:83:9 | 83 | use Mode::*; | ^^^^ help: a similar path exists: self::Mode

error[E0432]: unresolved import image --> vnc/mod.rs:28:5 | 28 | use image::{DynamicImage, ImageBuffer, Rgb}; | ^^^^^ maybe a missing crate image?

error[E0432]: unresolved import log --> vnc/mod.rs:30:5 | 30 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0432]: unresolved import ColourFormat --> vnc/mod.rs:91:13 | 91 | use ColourFormat::*; | ^^^^^^^^^^^^ help: a similar path exists: self::ColourFormat

error[E0432]: unresolved import ColourFormat --> vnc/mod.rs:263:13 | 263 | use ColourFormat::*; | ^^^^^^^^^^^^ help: a similar path exists: self::ColourFormat

error[E0432]: unresolved import log --> web/mod.rs:26:5 | 26 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0433]: failed to resolve: maybe a missing crate gdk? --> web/linux.rs:24:5 | 24 | use gdk::prelude::WindowExtManual; | ^^^ maybe a missing crate gdk?

error[E0433]: failed to resolve: maybe a missing crate gio? --> web/linux.rs:25:5 | 25 | use gio::prelude::*; | ^^^ maybe a missing crate gio?

error[E0432]: unresolved import linux --> web/mod.rs:35:9 | 35 | pub use linux::web_worker; | ^^^^^ help: a similar path exists: self::linux

error[E0432]: unresolved import gtk --> web/linux.rs:26:5 | 26 | use gtk::{ | ^^^ maybe a missing crate gtk?

error[E0432]: unresolved import log --> web/linux.rs:31:5 | 31 | use log::{debug, error, info, trace, warn}; | ^^^ maybe a missing crate log?

error[E0433]: failed to resolve: maybe a missing crate webkit2gtk? --> web/linux.rs:127:17 | 127 | use webkit2gtk::LoadEvent::*; | ^^^^^^^^^^ maybe a missing crate webkit2gtk?

error[E0432]: unresolved import webkit2gtk --> web/linux.rs:37:5 | 37 | use webkit2gtk::{ | ^^^^^^^^^^ maybe a missing crate webkit2gtk?

error[E0432]: unresolved import vnc::client --> vnc/mod.rs:35:10 | 35 | use vnc::client::{AuthChoice, AuthMethod, Client}; | ^^^^^^ could not find client in vnc

error[E0432]: unresolved import vnc::Colour --> vnc/mod.rs:36:5 | 36 | use vnc::Colour; | ^^^^^^^^^^^ no Colour in vnc

error[E0433]: failed to resolve: could not find client in vnc --> vnc/mod.rs:440:14 | 440 | use vnc::client::Event::*; | ^^^^^^ could not find client in vnc

error[E0433]: failed to resolve: could not find core in rdp --> rdp/mod.rs:31:10 | 31 | use rdp::core::client::Connector; | ^^^^ could not find core in rdp

error[E0433]: failed to resolve: could not find core in rdp --> rdp/mod.rs:32:10 | 32 | use rdp::core::client::RdpClient; | ^^^^ could not find core in rdp

error[E0433]: failed to resolve: could not find core in rdp --> rdp/mod.rs:33:10 | 33 | use rdp::core::event::RdpEvent; | ^^^^ could not find core in rdp

error[E0432]: unresolved imports vnc::PixelFormat, vnc::Rect, web::web_worker --> vnc/mod.rs:37:11 37 use vnc::{PixelFormat, Rect}; ^^^^^^^^^^^ ^^^^ no Rect in vnc
no PixelFormat in vnc

::: main.rs:34:5 | 34 | use web::web_worker; | ^^^^^^^^^^^^^^^

error[E0433]: failed to resolve: use of undeclared type or module thiserror --> error.rs:20:10 | 20 | #[derive(thiserror::Error, Debug)] | ^^^^^^^^^ use of undeclared type or module thiserror

error: cannot determine resolution for the macro crate_version --> argparse.rs:83:18 83 .version(crate_version!()) ^^^^^^^^^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot find attribute error in this scope --> error.rs:22:7 | 22 | #[error("Chrome error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:25:7 | 25 | #[error("IO error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:28:7 | 28 | #[error("RDP error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:31:7 | 31 | #[error("MPSC error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:34:7 | 34 | #[error("Template error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:37:7 | 37 | #[error("VNC error: {0}")] | ^^^^^

error: cannot find attribute error in this scope --> error.rs:40:7 | 40 | #[error("Conversion error: {0}")] | ^^^^^

error: cannot determine resolution for the macro trace --> parsing/mod.rs:99:21 99 trace!("Parsed as HTTP/HTTPS web url"); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro trace --> parsing/mod.rs:106:21 106 trace!("Parsed as RDP url"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:129:21 129 trace!("Parsed as VNC url"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:369:21 369 debug!("{} parsed as RDP target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:374:21 374 debug!("{} parsed as Web target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:379:21 379 debug!("{} parsed as VNC target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:386:21 386 debug!("{} parsed as Web target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:393:21 393 debug!("{} parsed as RDP target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:400:21 400 debug!("{} parsed as VNC target", t); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:405:13 405 warn!("Unable to parse {}", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:424:21 424 debug!("Reading target {:?}", line); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:443:41 443 ... info!("{} loaded as RDP target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:453:41 453 ... info!("{} loaded as Web target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:463:41 463 ... info!("{} loaded as VNC target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:466:41 466 ... warn!("Unable to parse {}", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:478:41 478 ... info!("{} loaded as Web target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:480:41 480 ... warn!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:495:41 495 ... info!("{} loaded as RDP target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:497:41 497 ... warn!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:512:41 512 ... info!("{} loaded as VNC target", t); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:514:41 514 ... warn!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:524:29 524 ... warn!("Error reading line {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:531:17 531 warn!("Error opening file: {:?}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:534:9 534 info!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:545:9 545 info!("Loading nmap file {}", file); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:549:17 549 warn!("Error opening file: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:554:25 554 warn!("Error parsing nmap file: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:557:25 557 debug!("Successfully parsed file"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> parsing/mod.rs:577:9 577 info!("Loading nessus file {}", file); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:581:17 581 warn!("Error opening file: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:586:25 586 warn!("Error parsing nessus file: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:589:25 589 debug!("Successfully parsed file"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:624:5 624 debug!("Parsing host {:?}", (host, port)); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:626:9 626 debug!("open port"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:638:17 638 debug!("Identified RDP"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:646:29 646 ... trace!("address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:650:29 650 ... trace!("legacy address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:654:29 654 ... trace!("Ignoring MAC address {}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:665:29 665 ... debug!("Successfully parsed as RDP"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:669:29 669 ... warn!("Error parsing target as RDP: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:690:17 690 debug!("Idenfified web"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:698:29 698 ... trace!("address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:702:29 702 ... trace!("legacy address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:706:29 706 ... trace!("Ignoring MAC address {}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:717:29 717 ... debug!("Successfully parsed as Web"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:721:29 721 ... warn!("Error parsing target as Web: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:737:17 737 debug!("Identified VNC"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:745:29 745 ... trace!("address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:749:29 749 ... trace!("legacy address: {:?}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> parsing/mod.rs:753:29 753 ... trace!("Ignoring MAC address {}", a); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:764:29 764 ... debug!("Successfully parsed as VNC"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> parsing/mod.rs:768:29 768 ... warn!("Error parsing target as VNC: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:786:5 786 debug!("Parsing host: {}, port: {}", host, port.id); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:793:17 793 debug!("Identified RDP"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:808:17 808 debug!("Identified Web"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> parsing/mod.rs:814:17 814 debug!("Identified VNC"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:97:13 97 debug!("Received zero-size chunk"); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro trace --> rdp/mod.rs:109:13 109 trace!("idx: {}, pixel: {:?}, at ({}, {})", idx, pixel, x, y); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:112:17 112 debug!("Pixel out of bounds!"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> rdp/mod.rs:140:17 140 trace!("CR"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:151:9 151 debug!("BITS PER PIXEL: {}", chunk.bpp); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:159:9 159 debug!("PIXEL SIZE {}", pixel_size); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:175:17 175 debug!("Detected RGBA-32"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:239:5 239 info!("Connecting to {:?}", target); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:256:9 256 debug!("Connecting to Socks proxy"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> rdp/mod.rs:283:21 283 warn!("Timeout reached"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:288:25 288 debug!("Attempted to add invalid chunk"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:297:13 297 info!("Successfully received image"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:301:13 301 info!("Saving image as {}", filepath.display()); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> rdp/mod.rs:313:13 313 warn!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> rdp/mod.rs:356:17 356 debug!( ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:371:21 371 info!("Bitmap channel disconnected"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:375:37 375 RdpEvent::Pointer(_) => info!("Pointer event!"), ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> rdp/mod.rs:376:33 376 RdpEvent::Key(_) => info!("Key event!"), ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro error --> rdp/mod.rs:380:17 380 error!("Error reading RDP stream: {:?}", e); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> rdp/mod.rs:394:9 394 warn!("error: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the derive macro Template --> reporting.rs:34:10 34 #[derive(Template)] ^^^^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot find attribute template in this scope --> reporting.rs:35:3 | 35 | #[template(path = "report.html")] | ^^^^^^^^

error: cannot determine resolution for the macro debug --> reporting.rs:96:9 96 debug!("Received message: {:?}", msg); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro info --> reporting.rs:148:5 148 info!("Generating report"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> reporting.rs:165:5 165 debug!("Report: {:?}", report); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> reporting.rs:167:5 167 info!("Report saved to {:?}", report_file); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> vnc/mod.rs:92:9 92 trace!("pixels: {:?}", pixels); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro trace --> vnc/mod.rs:93:9 93 trace!("rect: {:?}", rect); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro trace --> vnc/mod.rs:127:17 127 trace!( ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> vnc/mod.rs:359:5 359 info!("Connecting to {:?}", target); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:373:9 373 debug!("available auth methods: {:?}", methods); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> vnc/mod.rs:383:9 383 warn!("AuthMethod::None may not be supported"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> vnc/mod.rs:388:5 388 info!( ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:404:5 404 debug!("VNC pixel format: {:?}", vnc_format); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:406:5 406 debug!("requesting update"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> vnc/mod.rs:422:5 422 info!("Successfully received image"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> vnc/mod.rs:426:5 426 info!("Saving image as {}", filepath.display()); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> vnc/mod.rs:445:21 445 warn!("VNC Channel disconnected"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> vnc/mod.rs:449:21 449 trace!("PutPixels"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:453:21 453 debug!("End of frame"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:460:21 460 debug!("Set colour map"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> vnc/mod.rs:461:21 461 trace!("first colour: {:x}", first_colour); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> vnc/mod.rs:462:21 462 trace!("colours: {:?}", colours); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> vnc/mod.rs:465:26 465 other => debug!("Unsupported event: {:?}", other), ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> vnc/mod.rs:478:9 478 warn!("VNC error: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> web/linux.rs:88:13 88 info!("Ready to show!"); ^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro trace --> web/linux.rs:128:13 128 trace!( ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:135:17 135 trace!("Targets exhausted, ignoring event"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:152:17 152 trace!("Navigating to target: {}", u); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> web/linux.rs:157:17 157 info!("Exit signal received, closing window"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:166:33 166 ... trace!("Got pixbuf length {}", buf.len()); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> web/linux.rs:212:21 212 warn!("Target {} is not a URL!", target); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:219:25 219 trace!("Screen capture received! (len {})", img.len()); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> web/linux.rs:229:25 229 warn!("Capture failed: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> web/linux.rs:232:25 232 warn!("Channel disconnected: {}", e); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:239:13 239 trace!("Reached end of input list, sending window close request"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> web/linux.rs:247:9 247 debug!("application reached SHUTDOWN"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:250:5 250 trace!("application.run"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro trace --> web/linux.rs:252:5 252 trace!("End of web_worker function"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> web/mod.rs:55:5 55 debug!("Saving image for {}", target); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro info --> web/mod.rs:61:5 61 info!("Saving image as {}", output_file.display()); ^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro debug --> main.rs:92:5 92 debug!("Got opts:\n{:?}", opts); ^^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro info --> main.rs:99:9 99 info!("--test-import was supplied, exiting"); ^^^^

= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro error --> main.rs:108:9 108 error!("No targets imported, exiting"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro error --> main.rs:138:13 138 error!("Multiple ctrl+c caught, force-exiting..."); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro warn --> main.rs:141:9 141 warn!("Caught interrupt signal, cleaning up..."); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:154:9 154 debug!("Starting report thread"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:165:13 165 debug!("Starting RDP worker threads"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:183:13 183 debug!("Starting Web worker threads"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:203:13 203 debug!("Starting VNC worker threads"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:253:17 253 debug!("Thread complete, yay"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> main.rs:261:17 261 info!("Adding worker for {:?}", target); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:276:5 276 debug!("At the join part"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:278:9 278 debug!("Joining {:?}", w); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:280:13 280 debug!("Thread finished with errors"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> main.rs:310:17 310 info!("Thread complete, yay"); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro info --> main.rs:318:17 318 info!("Adding VNC worker for {:?}", target); ^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:333:5 333 debug!("At the join part"); ^^^^^
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro debug --> main.rs:335:9 335 debug!("Joining {:?}", w); ^^^^^
= note: import resolution is stuck, try simplifying macro imports

error[E0433]: failed to resolve: use of undeclared type or module failure --> error.rs:44:11 | 44 | impl From for Error { | ^^^^^^^ use of undeclared type or module failure

error[E0433]: failed to resolve: use of undeclared type or module failure --> error.rs:45:16 | 45 | fn from(e: failure::Error) -> Self { | ^^^^^^^ use of undeclared type or module failure

error[E0433]: failed to resolve: use of undeclared type or module rdp --> error.rs:56:11 | 56 | impl From for Error { | ^^^ use of undeclared type or module rdp

error[E0433]: failed to resolve: use of undeclared type or module rdp --> error.rs:57:16 | 57 | fn from(e: rdp::model::error::Error) -> Self { | ^^^ use of undeclared type or module rdp

error[E0433]: failed to resolve: use of undeclared type or module image --> error.rs:62:11 | 62 | impl From for Error { | ^^^^^ use of undeclared type or module image

error[E0433]: failed to resolve: use of undeclared type or module image --> error.rs:63:16 | 63 | fn from(e: image::error::ImageError) -> Self { | ^^^^^ use of undeclared type or module image

error[E0433]: failed to resolve: use of undeclared type or module askama --> error.rs:74:11 | 74 | impl From for Error { | ^^^^^^ use of undeclared type or module askama

error[E0433]: failed to resolve: use of undeclared type or module askama --> error.rs:75:16 | 75 | fn from(e: askama::shared::Error) -> Self { | ^^^^^^ use of undeclared type or module askama

error[E0433]: failed to resolve: use of undeclared type or module vnc --> error.rs:80:11 | 80 | impl From for Error { | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> error.rs:81:16 | 81 | fn from(e: vnc::Error) -> Self { | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module nmap_xml_parser --> parsing/mod.rs:612:12 | 612 | host: &nmap_xml_parser::host::Host, | ^^^^^^^^^^^^^^^ use of undeclared type or module nmap_xml_parser

error[E0433]: failed to resolve: use of undeclared type or module nmap_xml_parser --> parsing/mod.rs:613:12 | 613 | port: &nmap_xml_parser::port::Port, | ^^^^^^^^^^^^^^^ use of undeclared type or module nmap_xml_parser

error[E0433]: failed to resolve: use of undeclared type or module PortState --> parsing/mod.rs:625:29 | 625 | if port.status.state == PortState::Open { | ^^^^^^^^^ use of undeclared type or module PortState

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:645:25 | 645 | Address::IpAddr(IpAddr::V6(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:649:25 | 649 | Address::IpAddr(IpAddr::V4(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:653:25 | 653 | Address::MacAddr(a) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:697:25 | 697 | Address::IpAddr(IpAddr::V6(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:701:25 | 701 | Address::IpAddr(IpAddr::V4(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:705:25 | 705 | Address::MacAddr(a) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:744:25 | 744 | Address::IpAddr(IpAddr::V6(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:748:25 | 748 | Address::IpAddr(IpAddr::V4(a)) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module Address --> parsing/mod.rs:752:25 | 752 | Address::MacAddr(a) => { | ^^^^^^^ use of undeclared type or module Address

error[E0433]: failed to resolve: use of undeclared type or module nessus_xml_parser --> parsing/mod.rs:780:12 | 780 | host: &nessus_xml_parser::ReportHost, | ^^^^^^^^^^^^^^^^^ use of undeclared type or module nessus_xml_parser

error[E0433]: failed to resolve: use of undeclared type or module nessus_xml_parser --> parsing/mod.rs:781:11 | 781 | port: nessus_xml_parser::Port, | ^^^^^^^^^^^^^^^^^ use of undeclared type or module nessus_xml_parser

error[E0433]: failed to resolve: use of undeclared type or module Connector --> rdp/mod.rs:262:25 | 262 | let mut connector = Connector::new() | ^^^^^^^^^ use of undeclared type or module Connector

error[E0433]: failed to resolve: use of undeclared type or module RdpEvent --> rdp/mod.rs:334:13 | 334 | RdpEvent::Bitmap(bitmap) => { | ^^^^^^^^ use of undeclared type or module RdpEvent

error[E0433]: failed to resolve: use of undeclared type or module RdpEvent --> rdp/mod.rs:375:13 | 375 | RdpEvent::Pointer(_) => info!("Pointer event!"), | ^^^^^^^^ use of undeclared type or module RdpEvent

error[E0433]: failed to resolve: use of undeclared type or module RdpEvent --> rdp/mod.rs:376:13 | 376 | RdpEvent::Key(_) => info!("Key event!"), | ^^^^^^^^ use of undeclared type or module RdpEvent

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:396:9 | 396 | vnc::Encoding::Zrle, | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:397:9 | 397 | vnc::Encoding::CopyRect, | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:398:9 | 398 | vnc::Encoding::Raw, | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:399:9 | 399 | vnc::Encoding::Cursor, | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:400:9 | 400 | vnc::Encoding::DesktopSize, | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module vnc --> vnc/mod.rs:408:9 | 408 | vnc::Rect { | ^^^ use of undeclared type or module vnc

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:92:28 | 92 | let main_context = glib::MainContext::default(); | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:94:13 | 94 | glib::MainContext::channel::(glib::Priority::default()); | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:94:54 | 94 | glib::MainContext::channel::(glib::Priority::default()); | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:154:17 | 154 | glib::source::Continue(true) | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:159:17 | 159 | glib::source::Continue(false) | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module glib --> web/linux.rs:191:17 | 191 | glib::source::Continue(true) | ^^^^ use of undeclared type or module glib

error[E0433]: failed to resolve: use of undeclared type or module ctrlc --> main.rs:136:5 | 136 | ctrlc::set_handler(move || { | ^^^^^ use of undeclared type or module ctrlc

error[E0425]: cannot find value Auto in this scope --> argparse.rs:38:18 38 self == &Auto self == &filter filter == Auto ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Auto;
error[E0425]: cannot find value Auto in this scope --> argparse.rs:38:55 38 self == &Auto self == &filter filter == Auto ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Auto;
error[E0425]: cannot find value Auto in this scope --> parsing/mod.rs:85:25 85 assert!(mode != Auto, "Mode cannot be Auto here"); ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Auto;
error[E0425]: cannot find value Web in this scope --> parsing/mod.rs:100:32 100 if mode != Web { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Web;
error[E0425]: cannot find value Rdp in this scope --> parsing/mod.rs:107:32 107 if mode != Rdp { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Rdp;
error[E0425]: cannot find value Vnc in this scope --> parsing/mod.rs:130:32 130 if mode != Vnc { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Vnc;
error[E0425]: cannot find value Rdp in this scope --> parsing/mod.rs:366:60 366 if let Ok(mut targets) = Target::parse(&t, Rdp) { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Rdp;
error[E0425]: cannot find value Web in this scope --> parsing/mod.rs:371:60 371 if let Ok(mut targets) = Target::parse(&t, Web) { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Web;
error[E0425]: cannot find value Vnc in this scope --> parsing/mod.rs:376:60 376 if let Ok(mut targets) = Target::parse(&t, Vnc) { ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Vnc;
error[E0425]: cannot find value Rdp in this scope --> parsing/mod.rs:436:59 436 ... Target::parse(&t, Rdp) ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Rdp;
error[E0425]: cannot find value Web in this scope --> parsing/mod.rs:446:59 446 ... Target::parse(&t, Web) ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Web;
error[E0425]: cannot find value Vnc in this scope --> parsing/mod.rs:456:59 456 ... Target::parse(&t, Vnc) ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use argparse::Mode::Vnc;
error[E0531]: cannot find tuple struct or tuple variant Rgba32 in this scope --> rdp/mod.rs:69:13 69 Rgba32(di) => di, ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::ImageMode::Rgba32;
error[E0531]: cannot find tuple struct or tuple variant Rgba32 in this scope --> rdp/mod.rs:117:22 117 Some(Rgba32(DynamicImage::ImageRgba8(img))) => { ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::ImageMode::Rgba32;
error[E0425]: cannot find function, tuple struct or tuple variant Rgba32 in this scope --> rdp/mod.rs:178:26 178 Some(Rgba32(DynamicImage::ImageRgba8(ImageBuffer::< ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::ImageMode::Rgba32;
error[E0531]: cannot find tuple struct or tuple variant Socks5 in this scope --> rdp/mod.rs:208:13 208 Socks5(s) => s.read(buf), ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Socks5;
error[E0531]: cannot find tuple struct or tuple variant Tcp in this scope --> rdp/mod.rs:209:13 209 Tcp(s) => s.read(buf), ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Tcp;
error[E0531]: cannot find tuple struct or tuple variant Socks5 in this scope --> rdp/mod.rs:221:13 221 Socks5(s) => s.write(buf), ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Socks5;
error[E0531]: cannot find tuple struct or tuple variant Tcp in this scope --> rdp/mod.rs:222:13 222 Tcp(s) => s.write(buf), ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Tcp;
error[E0531]: cannot find tuple struct or tuple variant Socks5 in this scope --> rdp/mod.rs:228:13 228 Socks5(s) => s.flush(), ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Socks5;
error[E0531]: cannot find tuple struct or tuple variant Tcp in this scope --> rdp/mod.rs:229:13 229 Tcp(s) => s.flush(), ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use rdp::SocketType::Tcp;

error[E0412]: cannot find type RdpClient in this scope --> rdp/mod.rs:328:17 | 328 | mut client: RdpClient, | ^^^^^^^^^ not found in this scope

error[E0531]: cannot find tuple struct or tuple variant U8 in this scope --> vnc/mod.rs:136:32 136 if let U8((r, g, b)) = Image::pixel_to_rgb( ^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use vnc::ColourFormat::U8;
error[E0531]: cannot find tuple struct or tuple variant U16 in this scope --> vnc/mod.rs:149:32 149 if let U16((r, g, b)) = Image::pixel_to_rgb( ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use vnc::ColourFormat::U16;
error[E0425]: cannot find function, tuple struct or tuple variant U8 in this scope --> vnc/mod.rs:287:20 287 Ok(U8((r.try_into()?, g.try_into()?, b.try_into()?))) ^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use vnc::ColourFormat::U8;
error[E0425]: cannot find function, tuple struct or tuple variant U8 in this scope --> vnc/mod.rs:307:20 307 Ok(U8((r.try_into()?, g.try_into()?, b.try_into()?))) ^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use vnc::ColourFormat::U8;
error[E0425]: cannot find function, tuple struct or tuple variant U16 in this scope --> vnc/mod.rs:317:24 317 Ok(U16((r, g, b))) ^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use vnc::ColourFormat::U16;
error[E0531]: cannot find tuple struct or tuple variant Disconnected in this scope --> vnc/mod.rs:444:17 444 Disconnected(None) => { ^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope 20 use std::sync::mpsc::TrySendError::Disconnected;

error[E0531]: cannot find tuple struct or tuple variant PutPixels in this scope --> vnc/mod.rs:448:17 | 448 | PutPixels(vnc_rect, ref pixels) => { | ^^^^^^^^^ not found in this scope

error[E0422]: cannot find struct, variant or union type SetColourMap in this scope --> vnc/mod.rs:456:17 | 348 | / struct ColourMap { 349 | | #[allow(unused)] 350 | | firstcolour: u16, 351 | | colours: Vec, 352 | | } | |- similarly named struct ColourMap defined here ... 456 | SetColourMap { | ^^^^^^^^^^^^ help: a struct with a similar name exists: ColourMap

error: aborting due to 260 previous errors

Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0531. For more information about an error, try rustc --explain E0412.

'''

sciguy16 commented 3 years ago

What command are you using to compile it there? It should build without any errors with cargo build or cargo build --release. (If you don't have Cargo, then I'd recommend installing it via rustup: https://rustup.rs/ )

Havivw commented 3 years ago

I try with rustc and then get the errors I send you. Now I try it with cargo build and get an error while trying to install object and rustc-serialize. I add them to Cargo.toml and now I get errors while trying to compile bitvec 0.19.5

sciguy16 commented 3 years ago

If you're working from a fresh clone of this repository then running cargo build should work without issue - have you edited the Cargo.toml file at all? The dependencies are all in there already

Havivw commented 3 years ago

same logs for installing with user root or user pi , logs with clean repo

Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.60 Compiling serde_derive v1.0.123 Compiling serde v1.0.123 Compiling pkg-config v0.3.19 Compiling unicode-segmentation v1.7.1 Compiling autocfg v1.0.1 Compiling libc v0.2.87 Compiling strum v0.18.0 Compiling version-compare v0.0.10 Compiling cfg-if v1.0.0 Compiling version_check v0.9.2 Compiling bitflags v1.2.1 Compiling memchr v2.3.4 Compiling either v1.6.1 Compiling proc-macro-hack v0.5.19 Compiling proc-macro-nested v0.1.7 Compiling futures-core v0.3.13 Compiling futures-sink v0.3.13 Compiling futures-io v0.3.13 Compiling lazy_static v1.4.0 Compiling futures-task v0.3.13 Compiling cc v1.0.67 Compiling pin-utils v0.1.0 Compiling pin-project-lite v0.2.6 Compiling anyhow v1.0.38 Compiling slab v0.4.2 Compiling ryu v1.0.5 Compiling lexical-core v0.7.5 Compiling static_assertions v1.1.0 Compiling typenum v1.12.0 Compiling once_cell v1.7.2 Compiling arrayvec v0.5.2 Compiling byteorder v1.4.2 Compiling rayon-core v1.9.0 Compiling radium v0.5.3 Compiling scopeguard v1.1.0 Compiling log v0.4.14 Compiling gio v0.9.1 Compiling getrandom v0.1.16 Compiling byte-tools v0.3.1 Compiling wyz v0.2.0 Compiling cairo-rs v0.9.1 Compiling pango v0.9.1 Compiling percent-encoding v2.1.0 Compiling funty v1.1.0 Compiling tap v1.0.1 Compiling gdk-pixbuf v0.9.0 Compiling adler v1.0.2 Compiling tinyvec_macros v0.1.0 Compiling gdk v0.13.2 Compiling atk v0.9.0 Compiling matches v0.1.8 Compiling foreign-types-shared v0.1.1 Compiling xmlparser v0.13.3 Compiling gcc v0.3.55 Compiling crc32fast v1.2.1 Compiling openssl v0.10.32 Compiling adler32 v1.2.0 Compiling failure_derive v0.1.8 Compiling native-tls v0.2.7 Compiling hashbrown v0.9.1 Compiling opaque-debug v0.2.3 Compiling askama_escape v0.10.1 Compiling weezl v0.1.4 Compiling subtle v1.0.0 Compiling humansize v1.1.0 Compiling gimli v0.23.0 Compiling ppv-lite86 v0.2.10 Compiling termcolor v1.1.2 Compiling color_quant v1.1.0 Compiling unicode-width v0.1.8 Compiling rustc-serialize v0.3.24 Compiling openssl-probe v0.1.2 Compiling base64 v0.11.0 Compiling fake-simd v0.1.2 Compiling object v0.23.0 error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:162:41 162 [0x7f, b'E', b'L', b'F', 1, ..] => FileKind::Elf32, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:164:41 164 [0x7f, b'E', b'L', b'F', 2, ..] => FileKind::Elf64, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:166:38 166 [0xfe, 0xed, 0xfa, 0xce, ..] ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:167:40 167 [0xce, 0xfa, 0xed, 0xfe, ..] => FileKind::MachO32, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:169:40 169 [0xfe, 0xed, 0xfa, 0xcf, ..] ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:170:40 170 [0xcf, 0xfa, 0xed, 0xfe, ..] => FileKind::MachO64, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:172:38 172 [0xca, 0xfe, 0xba, 0xbe, ..] => FileKind::MachOFat32, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:174:38 174 [0xca, 0xfe, 0xba, 0xbf, ..] => FileKind::MachOFat64, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:178:26 178 [b'M', b'Z', ..] => { ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:194:26 194 [0x4c, 0x01, ..] ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
error[E0658]: subslice patterns are unstable --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:196:28 196 [0x64, 0x86, ..] => FileKind::Coff, ^^
= note: for more information, see https://github.com/rust-lang/rust/issues/62254

Compiling rustc-demangle v0.1.18 Compiling scoped_threadpool v0.1.9 Compiling byteorder v0.5.3 Compiling os_str_bytes v2.4.0 Compiling bufstream v0.1.4 Compiling yasna v0.3.2 Compiling vec_map v0.8.2 Compiling bytemuck v1.5.1 Compiling strsim v0.10.0 Compiling heck v0.3.2 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling crossbeam-utils v0.8.3 Compiling memoffset v0.6.1 Compiling miniz_oxide v0.4.4 error: aborting due to 11 previous errors

For more information about this error, try rustc --explain E0658. Error: Could not compile object. Warning: build failed, waiting for other jobs to finish... error: build failed

sciguy16 commented 3 years ago

Looks like your rust version is out of date - the subslice patterns feature got stabilised in Rust 1.42 back in March 2020.

Havivw commented 3 years ago

thank you! its worked!

Havivw commented 3 years ago
i just got that warnings from compiling Compiling scrying v0.9.0-alpha.1 (/home/pi/Desktop/scrying) warning: field is never read: width --> src/rdp/mod.rs:79:5 79 width: Option, ^^^^^^^^^^^^^^^^^^

= note: #[warn(dead_code)] on by default

warning: field is never read: height --> src/rdp/mod.rs:80:5 | 80 | height: Option, | ^^^^^^^^^^^^^^^^^^^

warning: 2 warnings emitted