[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] testing loggerhead/shadowsocks-rust against 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loggerhead/shadowsocks-rust on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc1/source/src/bin/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `sslocal` [INFO] [stderr] * `bin` target `ssserver` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded unicode-segmentation v0.1.3 [INFO] [stderr] Downloaded sig v1.0.0 [INFO] [stderr] Downloaded openssl v0.9.23 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded daemonize v0.2.3 [INFO] [stderr] Downloaded try_opt v0.1.1 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded clap v2.18.0 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded getopts v0.2.17 [INFO] [stderr] Downloaded if_chain v0.1.2 [INFO] [stderr] Downloaded openssl-sys v0.9.24 [INFO] [stderr] Downloaded slog-term v1.3.5 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] [stderr] Downloaded slog-scope v0.2.2 [INFO] [stderr] Downloaded lru_time_cache v0.5.0 [INFO] [stderr] Downloaded slog v1.7.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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4f4721e0333c94ca6e60cfa648403f2bc69ee03098c228c832fa3cf5ad49d24 [INFO] running `Command { std: "docker" "start" "-a" "d4f4721e0333c94ca6e60cfa648403f2bc69ee03098c228c832fa3cf5ad49d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f4721e0333c94ca6e60cfa648403f2bc69ee03098c228c832fa3cf5ad49d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f4721e0333c94ca6e60cfa648403f2bc69ee03098c228c832fa3cf5ad49d24", kill_on_drop: false }` [INFO] [stdout] d4f4721e0333c94ca6e60cfa648403f2bc69ee03098c228c832fa3cf5ad49d24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae87244af5cedbb46ab712ec6c316d283266faca4c07954dbed121ecdb5c6436 [INFO] running `Command { std: "docker" "start" "-a" "ae87244af5cedbb46ab712ec6c316d283266faca4c07954dbed121ecdb5c6436", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/bin/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `sslocal` [INFO] [stderr] * `bin` target `ssserver` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling try_opt v0.1.1 [INFO] [stderr] Compiling slog-scope v0.2.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lru_time_cache v0.5.0 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling isatty v0.1.6 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling clap v2.18.0 [INFO] [stderr] Compiling sig v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling daemonize v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling slog-term v1.3.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `io_err` [INFO] [stdout] --> src/util.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! io_err { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | try_set!(set_port, "port", int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `try_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 151 | try_set!(set_timeout, "timeout", int); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `try_set` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config/running_config.rs:102:14 [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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | callers: Dict>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle_every_line>(filepath: P, func: &mut dyn FnMut(String)) -> Result<()> { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | io: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let hostname = hostname.trim_end_matches('.'); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stdout] | +++ [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] = 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: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] [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.2.3, rustc-serialize v0.3.24, shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "ae87244af5cedbb46ab712ec6c316d283266faca4c07954dbed121ecdb5c6436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae87244af5cedbb46ab712ec6c316d283266faca4c07954dbed121ecdb5c6436", kill_on_drop: false }` [INFO] [stdout] ae87244af5cedbb46ab712ec6c316d283266faca4c07954dbed121ecdb5c6436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6b594faaac1f9d08397d219be0fa47a0d5c8b9040944d5a8eeeae77394a45c5 [INFO] running `Command { std: "docker" "start" "-a" "b6b594faaac1f9d08397d219be0fa47a0d5c8b9040944d5a8eeeae77394a45c5", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/bin/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `sslocal` [INFO] [stderr] * `bin` target `ssserver` [INFO] [stdout] warning: unused macro definition: `io_err` [INFO] [stdout] --> src/util.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! io_err { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | try_set!(set_port, "port", int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `try_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 151 | try_set!(set_timeout, "timeout", int); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `try_set` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config/running_config.rs:102:14 [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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | callers: Dict>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle_every_line>(filepath: P, func: &mut dyn FnMut(String)) -> Result<()> { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | io: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let hostname = hostname.trim_end_matches('.'); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stdout] | +++ [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] = 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: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] [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `assert_raw_encrypt` [INFO] [stdout] --> tests/encrypt.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | macro_rules! assert_raw_encrypt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_raw_decrypt` [INFO] [stdout] --> tests/encrypt.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | macro_rules! assert_raw_decrypt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `io_err` [INFO] [stdout] --> src/util.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! io_err { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | try_set!(set_port, "port", int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `try_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/cmd.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 151 | try_set!(set_timeout, "timeout", int); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `try_set` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config/running_config.rs:102:14 [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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | inner: Box, [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | callers: Dict>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle_every_line>(filepath: P, func: &mut dyn FnMut(String)) -> Result<()> { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | io: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let hostname = hostname.trim_end_matches('.'); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stdout] | +++ [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] = 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: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] [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.2.3, rustc-serialize v0.3.24, shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "b6b594faaac1f9d08397d219be0fa47a0d5c8b9040944d5a8eeeae77394a45c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b594faaac1f9d08397d219be0fa47a0d5c8b9040944d5a8eeeae77394a45c5", kill_on_drop: false }` [INFO] [stdout] b6b594faaac1f9d08397d219be0fa47a0d5c8b9040944d5a8eeeae77394a45c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9d19d82e058ffb39ba5b53f302fbc8959af3b95766237b9abe869598d4fcb24 [INFO] running `Command { std: "docker" "start" "-a" "a9d19d82e058ffb39ba5b53f302fbc8959af3b95766237b9abe869598d4fcb24", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/bin/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `sslocal` [INFO] [stderr] * `bin` target `ssserver` [INFO] [stderr] warning: unused macro definition: `io_err` [INFO] [stderr] --> src/util.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | macro_rules! io_err { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/config/cmd.rs:136:54 [INFO] [stderr] | [INFO] [stderr] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 148 | try_set!(set_port, "port", int); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `try_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/config/cmd.rs:136:54 [INFO] [stderr] | [INFO] [stderr] 136 | ($set:ident, $val:expr) => { conf.$set($val)?; }; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 151 | try_set!(set_timeout, "timeout", int); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `try_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/network.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | / lazy_static! { [INFO] [stderr] 54 | | static ref RE: Regex = Regex::new(r"[A-Za-z\d-]{1,63}$").unwrap(); [INFO] [stderr] 55 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/config/mod.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref CONFIG: Config = init_config().unwrap_or_else(|e| { [INFO] [stderr] 25 | | println!("{:?}", e); [INFO] [stderr] 26 | | exit(1); [INFO] [stderr] 27 | | }); [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/config/cmd.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | static ref CONFIG_HELP: String = format!("path to config file\n[default: {}]", [INFO] [stderr] 11 | | Config::default_config_path().display()); [INFO] [stderr] 12 | | static ref NAME: &'static str = if cfg!(feature = "sslocal") { [INFO] [stderr] ... | [INFO] [stderr] 16 | | }; [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/config/running_config.rs:102:14 [INFO] [stderr] | [INFO] [stderr] 102 | env::home_dir() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/crypto/encryptor.rs:395:5 [INFO] [stderr] | [INFO] [stderr] 395 | / lazy_static! { [INFO] [stderr] 396 | | static ref CACHE: Mutex>>> = [INFO] [stderr] 397 | | Mutex::new(LruCache::with_capacity(KEY_CACHE_SIZE)); [INFO] [stderr] 398 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/crypto/cipher.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | inner: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | inner: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/crypto/crypto_lib.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | inner: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | inner: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/asyncdns.rs:134:33 [INFO] [stderr] | [INFO] [stderr] 134 | callers: Dict>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 134 | callers: Dict>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:34:66 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn handle_every_line>(filepath: P, func: &mut FnMut(String)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 | pub fn handle_every_line>(filepath: P, func: &mut dyn FnMut(String)) -> Result<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/asyncdns.rs:180:49 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 180 | pub fn add_caller(&mut self, caller: RcCell) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/my_logger.rs:68:24 [INFO] [stderr] | [INFO] [stderr] 68 | io: &mut io::Write, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 | io: &mut dyn io::Write, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/network.rs:57:29 [INFO] [stderr] | [INFO] [stderr] 57 | let hostname = hostname.trim_right_matches('.'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 57 | let hostname = hostname.trim_end_matches('.'); [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/crypto/cipher.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 | let cipher: Box = match method.belong_lib() { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config/toml.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let mut tmp = Arc::make_mut(&mut server_conf); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config/mod.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config/mod.rs:135:17 [INFO] [stderr] | [INFO] [stderr] 135 | let mut tmp = Arc::make_mut(&mut conf.proxy_conf); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `shadowsocks` (lib) generated 20 warnings (1 duplicate) (run `cargo fix --lib -p shadowsocks` to apply 11 suggestions) [INFO] [stderr] warning: `shadowsocks` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: unused macro definition: `assert_raw_encrypt` [INFO] [stderr] --> tests/encrypt.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | macro_rules! assert_raw_encrypt { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `assert_raw_decrypt` [INFO] [stderr] --> tests/encrypt.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | macro_rules! assert_raw_decrypt { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `shadowsocks` (test "encrypt") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.2.3, rustc-serialize v0.3.24, shadowsocks v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shadowsocks-7d9a55a59a37a430) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test asyncdns::test::ipv6_block_resolve ... ignored [INFO] [stdout] test asyncdns::test::parse_response ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test asyncdns::test::ipv4_block_resolve ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- asyncdns::test::ipv4_block_resolve stdout ---- [INFO] [stdout] block_resolve failed: Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" } [INFO] [stdout] thread 'asyncdns::test::ipv4_block_resolve' panicked at src/asyncdns.rs:784:21: [INFO] [stdout] assertion failed: false [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556ae72d177c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x556ae72d177c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556ae72d177c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556ae72d177c - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x556ae72fdf00 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x556ae72fdf00 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x556ae72cec6f - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x556ae72d1564 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x556ae72d1564 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x556ae72d3227 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x556ae72d2f13 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x556ae71e42b7 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x556ae71e42b7 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x556ae72d3838 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x556ae72d3838 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x556ae72d3559 - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:649:13 [INFO] [stdout] 16: 0x556ae72d1c46 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x556ae72d32f2 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x556ae7189e85 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x556ae7189f23 - core::panicking::panic::h195fc2a96298d4c3 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127:5 [INFO] [stdout] 20: 0x556ae71a9d06 - shadowsocks::asyncdns::test::test_block_resolve::hab955445b20ddb99 [INFO] [stdout] at /opt/rustwide/workdir/src/asyncdns.rs:784:21 [INFO] [stdout] 21: 0x556ae71a9ff8 - shadowsocks::asyncdns::test::ipv4_block_resolve::he5959c2fac9afaee [INFO] [stdout] at /opt/rustwide/workdir/src/asyncdns.rs:792:9 [INFO] [stdout] 22: 0x556ae71a9fd7 - shadowsocks::asyncdns::test::ipv4_block_resolve::{{closure}}::hbd7f8ffed146ab4d [INFO] [stdout] at /opt/rustwide/workdir/src/asyncdns.rs:791:28 [INFO] [stdout] 23: 0x556ae7199af6 - core::ops::function::FnOnce::call_once::h581bc11b82062020 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x556ae71e990f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x556ae71e990f - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 26: 0x556ae71e8925 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 27: 0x556ae71e8925 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x556ae71e8925 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x556ae71e8925 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x556ae71e8925 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x556ae71e8925 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 32: 0x556ae71e8925 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 33: 0x556ae71b0be6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 34: 0x556ae71b0be6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 35: 0x556ae71b5c97 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x556ae71b5c97 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x556ae71b5c97 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x556ae71b5c97 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x556ae71b5c97 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x556ae71b5c97 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x556ae71b5c97 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x556ae72d82f5 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x556ae72d82f5 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x556ae72d82f5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f9122bceac3 - [INFO] [stdout] 46: 0x7f9122c5fbf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] asyncdns::test::ipv4_block_resolve [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9d19d82e058ffb39ba5b53f302fbc8959af3b95766237b9abe869598d4fcb24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d19d82e058ffb39ba5b53f302fbc8959af3b95766237b9abe869598d4fcb24", kill_on_drop: false }` [INFO] [stdout] a9d19d82e058ffb39ba5b53f302fbc8959af3b95766237b9abe869598d4fcb24