[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loggerhead/shadowsocks-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-10/source/src/bin/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd6e59e48b7d0110e058a951b5cc5bea755ca9376a5decc7d342a38b40584e91 [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" "fd6e59e48b7d0110e058a951b5cc5bea755ca9376a5decc7d342a38b40584e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd6e59e48b7d0110e058a951b5cc5bea755ca9376a5decc7d342a38b40584e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd6e59e48b7d0110e058a951b5cc5bea755ca9376a5decc7d342a38b40584e91", kill_on_drop: false }` [INFO] [stdout] fd6e59e48b7d0110e058a951b5cc5bea755ca9376a5decc7d342a38b40584e91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] a5240adf754322950edc77f8de14db032e98fa7cf6ec1c5c8002a0e8e07e0362 [INFO] running `Command { std: "docker" "start" "-a" "a5240adf754322950edc77f8de14db032e98fa7cf6ec1c5c8002a0e8e07e0362", 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 libc v0.2.36 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking lru_time_cache v0.5.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slog-scope v0.2.2 [INFO] [stderr] Checking slog-stream v1.2.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking nix v0.5.1 [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] Checking num-integer v0.1.35 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking clap v2.18.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking slog-term v1.3.5 [INFO] [stderr] Checking mio v0.5.1 [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: 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: 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 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: 18 warnings emitted [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: 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.70s [INFO] running `Command { std: "docker" "inspect" "a5240adf754322950edc77f8de14db032e98fa7cf6ec1c5c8002a0e8e07e0362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5240adf754322950edc77f8de14db032e98fa7cf6ec1c5c8002a0e8e07e0362", kill_on_drop: false }` [INFO] [stdout] a5240adf754322950edc77f8de14db032e98fa7cf6ec1c5c8002a0e8e07e0362