[INFO] cloning repository https://github.com/loggerhead/shadowsocks-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loggerhead/shadowsocks-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12c2eaecad3aa52eeb0bb62b161317d0e9453164 [INFO] checking loggerhead/shadowsocks-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loggerhead/shadowsocks-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loggerhead/shadowsocks-rust [INFO] finished tweaking git repo https://github.com/loggerhead/shadowsocks-rust [INFO] tweaked toml for git repo https://github.com/loggerhead/shadowsocks-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/loggerhead/shadowsocks-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/bin/main.rs [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive_internals v0.19.0 [INFO] [stderr] Downloaded serde v1.0.27 [INFO] [stderr] Downloaded slog v1.7.1 [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded clap v2.18.0 [INFO] [stderr] Downloaded regex v0.2.5 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded openssl-sys v0.9.24 [INFO] [stderr] Downloaded serde_json v1.0.9 [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded lru_time_cache v0.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.27 [INFO] [stderr] Downloaded rand v0.3.20 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded openssl v0.9.23 [INFO] [stderr] Downloaded sig v1.0.0 [INFO] [stderr] Downloaded slog-scope v0.2.2 [INFO] [stderr] Downloaded num-traits v0.1.42 [INFO] [stderr] Downloaded daemonize v0.2.3 [INFO] [stderr] Downloaded slog-term v1.3.5 [INFO] [stderr] Downloaded try_opt v0.1.1 [INFO] [stderr] Downloaded isatty v0.1.6 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] [stderr] Downloaded clippy_lints v0.0.182 [INFO] [stderr] Downloaded clippy v0.0.182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e10f2135e89b3bb64237da99b7067193fb1a6db4a27d7d708142a5519e26839d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e10f2135e89b3bb64237da99b7067193fb1a6db4a27d7d708142a5519e26839d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e10f2135e89b3bb64237da99b7067193fb1a6db4a27d7d708142a5519e26839d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10f2135e89b3bb64237da99b7067193fb1a6db4a27d7d708142a5519e26839d", kill_on_drop: false }` [INFO] [stdout] e10f2135e89b3bb64237da99b7067193fb1a6db4a27d7d708142a5519e26839d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c07daa12a339d650d9deefcc3627c341e1b7528013db59a16be51f0cfee039c7 [INFO] running `Command { std: "docker" "start" "-a" "c07daa12a339d650d9deefcc3627c341e1b7528013db59a16be51f0cfee039c7", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/bin/main.rs [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking lru_time_cache v0.5.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking isatty v0.1.6 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking sig v1.0.0 [INFO] [stderr] Checking daemonize v0.2.3 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking clap v2.18.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking slog-scope v0.2.2 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking slog-stream v1.2.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking slog-term v1.3.5 [INFO] [stderr] Checking shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / macro_rules! io_err { [INFO] [stdout] 10 | | ($desc:expr) => ( io::Error::new(io::ErrorKind::Other, $desc) ); [INFO] [stdout] 11 | | ($fmt:expr, $($arg:tt)*) => ( io::Error::new(io::ErrorKind::Other, format!($fmt, $($arg)*)) ); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle_every_line>(filepath: P, func: &mut FnMut(String)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/cipher.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StreamCipher + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/cipher.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StreamCipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/crypto_lib.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SynchronousStreamCipher + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asyncdns.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | callers: Dict>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asyncdns.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_logger.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | io: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/network.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / lazy_static! { [INFO] [stdout] 54 | | static ref RE: Regex = Regex::new(r"[A-Za-z\d-]{1,63}$").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref CONFIG: Config = init_config().unwrap_or_else(|e| { [INFO] [stdout] 25 | | println!("{:?}", e); [INFO] [stdout] 26 | | exit(1); [INFO] [stdout] 27 | | }); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref CONFIG_HELP: String = format!("path to config file\n[default: {}]", [INFO] [stdout] 11 | | Config::default_config_path().display()); [INFO] [stdout] 12 | | static ref NAME: &'static str = if cfg!(feature = "sslocal") { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / macro_rules! io_err { [INFO] [stdout] 10 | | ($desc:expr) => ( io::Error::new(io::ErrorKind::Other, $desc) ); [INFO] [stdout] 11 | | ($fmt:expr, $($arg:tt)*) => ( io::Error::new(io::ErrorKind::Other, format!($fmt, $($arg)*)) ); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle_every_line>(filepath: P, func: &mut FnMut(String)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(String)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref CONFIG_HELP: String = format!("path to config file\n[default: {}]", [INFO] [stdout] 11 | | Config::default_config_path().display()); [INFO] [stdout] 12 | | static ref NAME: &'static str = if cfg!(feature = "sslocal") { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config/running_config.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crypto/encryptor.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | / lazy_static! { [INFO] [stdout] 396 | | static ref CACHE: Mutex>>> = [INFO] [stdout] 397 | | Mutex::new(LruCache::with_capacity(KEY_CACHE_SIZE)); [INFO] [stdout] 398 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/cipher.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StreamCipher + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/cipher.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StreamCipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/crypto_lib.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SynchronousStreamCipher + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asyncdns.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | callers: Dict>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asyncdns.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_logger.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | io: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/network.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / lazy_static! { [INFO] [stdout] 54 | | static ref RE: Regex = Regex::new(r"[A-Za-z\d-]{1,63}$").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref CONFIG: Config = init_config().unwrap_or_else(|e| { [INFO] [stdout] 25 | | println!("{:?}", e); [INFO] [stdout] 26 | | exit(1); [INFO] [stdout] 27 | | }); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref CONFIG_HELP: String = format!("path to config file\n[default: {}]", [INFO] [stdout] 11 | | Config::default_config_path().display()); [INFO] [stdout] 12 | | static ref NAME: &'static str = if cfg!(feature = "sslocal") { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref CONFIG_HELP: String = format!("path to config file\n[default: {}]", [INFO] [stdout] 11 | | Config::default_config_path().display()); [INFO] [stdout] 12 | | static ref NAME: &'static str = if cfg!(feature = "sslocal") { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config/running_config.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crypto/encryptor.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | / lazy_static! { [INFO] [stdout] 396 | | static ref CACHE: Mutex>>> = [INFO] [stdout] 397 | | Mutex::new(LruCache::with_capacity(KEY_CACHE_SIZE)); [INFO] [stdout] 398 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/network.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let hostname = hostname.trim_right_matches('.'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/network.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let hostname = hostname.trim_right_matches('.'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/toml.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut tmp = Arc::make_mut(&mut server_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/toml.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut tmp = Arc::make_mut(&mut server_conf); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/encrypt.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / macro_rules! assert_raw_encrypt { [INFO] [stdout] 40 | | ($cryptor:expr, $data:expr) => ( assert_do!($cryptor, raw_encrypt, $data) ) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/encrypt.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / macro_rules! assert_raw_decrypt { [INFO] [stdout] 44 | | ($cryptor:expr, $data:expr) => ( assert_do!($cryptor, raw_decrypt, $data) ) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.61s [INFO] running `Command { std: "docker" "inspect" "c07daa12a339d650d9deefcc3627c341e1b7528013db59a16be51f0cfee039c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07daa12a339d650d9deefcc3627c341e1b7528013db59a16be51f0cfee039c7", kill_on_drop: false }` [INFO] [stdout] c07daa12a339d650d9deefcc3627c341e1b7528013db59a16be51f0cfee039c7