sbwtw / pidgin-wechat

pidgin plugin for web wechat protocol
Do What The F*ck You Want To Public License
134 stars 14 forks source link

Compilation on Debian 9 #14

Closed Tr4sK closed 6 years ago

Tr4sK commented 6 years ago

Please ask the following questions, Thanks!


- coredump file or debugger's stack trace:
I decided to give a try to compilation, here is the output:
[~/script/pidgin-wechat] - [2018-02-08 12:21:01] └─[0] <git:(master dc3adda) > cargo build Updating registry https://github.com/rust-lang/crates.io-index Updating git repository https://github.com/seanmonstar/reqwest
Downloading lazy_static v0.2.8
Downloading glib-sys v0.4.0
Downloading serde_json v1.0.3
Downloading hyper v0.11.2
Downloading time v0.1.38
Downloading libc v0.2.31
Downloading regex v0.2.2
Downloading rust-crypto v0.2.36
Downloading purple-sys v0.1.0
Downloading bitflags v0.9.1
Downloading pkg-config v0.3.9
Downloading num-traits v0.1.40
Downloading itoa v0.3.4
Downloading serde v1.0.15
Downloading dtoa v0.4.2
Downloading bytes v0.4.5
Downloading native-tls v0.1.4
Downloading tokio-core v0.1.9
Downloading tokio-io v0.1.3
Downloading url v1.5.1
Downloading mime_guess v2.0.0-alpha.2
Downloading libflate v0.1.11
Downloading uuid v0.5.1
Downloading serde_urlencoded v0.5.1
Downloading log v0.3.8
Downloading futures v0.1.16
Downloading tokio-tls v0.1.3
Downloading hyper-tls v0.1.2
Downloading byteorder v1.1.0
Downloading iovec v0.1.0
Downloading scoped-tls v0.1.0
Downloading mio v0.6.10
Downloading slab v0.3.0
Downloading net2 v0.2.31
Downloading lazycell v0.5.1
Downloading cfg-if v0.1.2
Downloading percent-encoding v1.0.0
Downloading matches v0.1.6
Downloading idna v0.1.4
Downloading unicode-bidi v0.3.4
Downloading unicode-normalization v0.1.5
Downloading mime v0.3.4
Downloading phf v0.7.21
Downloading unicase v1.4.2
Downloading unicase v2.0.0
Downloading rustc_version v0.1.7
Downloading semver v0.1.20
Downloading phf_shared v0.7.21
Downloading siphasher v0.2.2
Downloading version_check v0.1.3
Downloading phf_codegen v0.7.21
Downloading phf_generator v0.7.21
Downloading rand v0.3.16
Downloading adler32 v1.0.2
Downloading tokio-service v0.1.0
Downloading futures-cpupool v0.1.6
Downloading tokio-proto v0.1.1
Downloading httparse v1.2.3
Downloading language-tags v0.2.2
Downloading base64 v0.6.0
Downloading num_cpus v1.6.2
Downloading take v0.1.0
Downloading smallvec v0.2.1
Downloading safemem v0.2.0
Downloading regex-syntax v0.4.1
Downloading aho-corasick v0.6.3
Downloading memchr v1.0.1
Downloading utf8-ranges v1.0.0
Downloading thread_local v0.3.4
Downloading unreachable v1.0.0
Downloading void v1.0.2
Downloading rustc-serialize v0.3.24
Downloading gcc v0.3.54
Downloading bindgen v0.29.0
Downloading clang-sys v0.19.0
Downloading aster v0.41.0
Downloading cexpr v0.2.2
Downloading quasi v0.32.0
Downloading clap v2.26.2
Downloading peeking_take_while v0.1.2
Downloading env_logger v0.4.3
Downloading syntex_syntax v0.58.1
Downloading libloading v0.4.2
Downloading glob v0.2.11
Downloading bitflags v0.8.2
Downloading syntex_errors v0.58.1
Downloading syntex_pos v0.58.1
Downloading unicode-xid v0.0.4
Downloading term v0.4.6
Downloading nom v3.2.0
Downloading strsim v0.6.0
Downloading term_size v0.3.0
Downloading vec_map v0.8.0
Downloading atty v0.2.2
Downloading textwrap v0.8.0
Downloading ansi_term v0.9.0
Downloading unicode-width v0.1.4
Downloading quasi_codegen v0.32.0
Downloading syntex v0.58.1
Downloading openssl v0.9.19
Downloading openssl-sys v0.9.19
Downloading foreign-types v0.2.0
Downloading cc v1.0.0
Compiling peeking_take_while v0.1.2
Compiling term v0.4.6 Compiling cfg-if v0.1.2 Compiling gcc v0.3.54 Compiling vec_map v0.8.0 Compiling foreign-types v0.2.0 Compiling version_check v0.1.3 Compiling adler32 v1.0.2 Compiling unicode-xid v0.0.4 Compiling lazy_static v0.2.8 Compiling byteorder v1.1.0 Compiling utf8-ranges v1.0.0 Compiling ansi_term v0.9.0 Compiling slab v0.3.0 Compiling scoped-tls v0.1.0 Compiling itoa v0.3.4 Compiling safemem v0.2.0 Compiling log v0.3.8 Compiling cc v1.0.0 Compiling libc v0.2.31 Compiling matches v0.1.6 Compiling lazycell v0.5.1 Compiling bitflags v0.9.1 Compiling glob v0.2.11 Compiling unicode-normalization v0.1.5 Compiling smallvec v0.2.1 Compiling semver v0.1.20 Compiling void v1.0.2 Compiling dtoa v0.4.2 Compiling strsim v0.6.0 Compiling pkg-config v0.3.9 Compiling rustc-serialize v0.3.24 Compiling language-tags v0.2.2 Compiling futures v0.1.16 Compiling openssl v0.9.19 Compiling httparse v1.2.3 Compiling percent-encoding v1.0.0 Compiling bitflags v0.8.2 Compiling unicode-width v0.1.4 Compiling take v0.1.0 Compiling num-traits v0.1.40 Compiling regex-syntax v0.4.1 Compiling serde v1.0.15 Compiling siphasher v0.2.2 Compiling libloading v0.4.2 Compiling unicase v1.4.2 Compiling rust-crypto v0.2.36 Compiling libflate v0.1.11 Compiling base64 v0.6.0 Compiling unicode-bidi v0.3.4 Compiling net2 v0.2.31 Compiling iovec v0.1.0 Compiling atty v0.2.2 Compiling time v0.1.38 Compiling rand v0.3.16 Compiling term_size v0.3.0 Compiling memchr v1.0.1 Compiling num_cpus v1.6.2 Compiling clang-sys v0.19.0 Compiling unreachable v1.0.0 Compiling glib-sys v0.4.0 Compiling openssl-sys v0.9.19 Compiling rustc_version v0.1.7 Compiling tokio-service v0.1.0 Compiling syntex_pos v0.58.1 Compiling idna v0.1.4 Compiling bytes v0.4.5 Compiling mio v0.6.10 Compiling textwrap v0.8.0 Compiling nom v3.2.0 Compiling aho-corasick v0.6.3 Compiling futures-cpupool v0.1.6 Compiling thread_local v0.3.4 Compiling uuid v0.5.1 Compiling unicase v2.0.0 Compiling serde_json v1.0.3 Compiling syntex_errors v0.58.1 Compiling tokio-io v0.1.3 Compiling clap v2.26.2 Compiling url v1.5.1 Compiling regex v0.2.2 Compiling cexpr v0.2.2 Compiling phf_shared v0.7.21 Compiling tokio-core v0.1.9 Compiling syntex_syntax v0.58.1 Compiling serde_urlencoded v0.5.1 Compiling phf v0.7.21 Compiling phf_generator v0.7.21 Compiling env_logger v0.4.3 Compiling tokio-proto v0.1.1 Compiling mime v0.3.4 Compiling phf_codegen v0.7.21 Compiling hyper v0.11.2 Compiling mime_guess v2.0.0-alpha.2 Compiling native-tls v0.1.4 Compiling tokio-tls v0.1.3 Compiling hyper-tls v0.1.2 Compiling reqwest v0.7.3 (https://github.com/seanmonstar/reqwest#a646bb56) Compiling quasi v0.32.0 Compiling aster v0.41.0 Compiling syntex v0.58.1 Compiling quasi_codegen v0.32.0 Compiling bindgen v0.29.0 Compiling purple-sys v0.1.0 Compiling pidgin-wechat v0.1.0 (file:///home/user/script/pidgin-wechat) warning: unused import: self::crypto::md5::Md5 --> src/server.rs:14:5
14 use self::crypto::md5::Md5; ^^^^^^^^^^^^^^^^^^^^^^

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

warning: unused import: self::time::Duration --> src/server.rs:16:5 | 16 | use self::time::Duration; | ^^^^^^^^^^^^^^^^^^^^

warning: unused import: c_uchar --> src/server.rs:31:36 | 31 | use std::os::raw::{c_void, c_char, c_uchar, c_int}; | ^^^^^^^

warning: unused import: self::crypto::digest::Digest --> src/server.rs:15:5 | 15 | use self::crypto::digest::Digest; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method is never used: data_ticket --> src/server.rs:155:5 155 fn data_ticket(&self) -> Option<&str> { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: #[warn(dead_code)] on by default

warning: method is never used: image_upload_data --> src/server.rs:322:5 | 322 | fn image_upload_data(&self, img_size: usize, img_md5: &str, dest_name: &str) -> Value { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: variable does not need to be mutable --> src/server.rs:600:9 600 let mut client = Client::new(); ---^^^^^^^
help: remove this mut
= note: #[warn(unused_mut)] on by default

Finished dev [unoptimized + debuginfo] target(s) in 365.69 secs
sbwtw commented 6 years ago

It seems your compile is finished successfully. The output is some warnings, doesn't matter