[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] documenting loggerhead/shadowsocks-rust against 1.47.0 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floggerhead%2Fshadowsocks-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/loggerhead/shadowsocks-rust on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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" "+1.47.0" "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-14/source/src/bin/main.rs
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e2b775f18cd35ed7d709c3da06b8362030d21ac37961484aaebd587b5c4339a
[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" "0e2b775f18cd35ed7d709c3da06b8362030d21ac37961484aaebd587b5c4339a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e2b775f18cd35ed7d709c3da06b8362030d21ac37961484aaebd587b5c4339a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e2b775f18cd35ed7d709c3da06b8362030d21ac37961484aaebd587b5c4339a", kill_on_drop: false }`
[INFO] [stdout] 0e2b775f18cd35ed7d709c3da06b8362030d21ac37961484aaebd587b5c4339a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] 0e0fd44f16e408d57974469ee86acc42a1f0a02ccd3c4f7937dbaa1c3a25185f
[INFO] running `Command { std: "docker" "start" "-a" "0e0fd44f16e408d57974469ee86acc42a1f0a02ccd3c4f7937dbaa1c3a25185f", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/bin/main.rs
[INFO] [stderr]     Checking num-traits v0.1.42
[INFO] [stderr]     Checking slog v1.7.1
[INFO] [stderr]     Checking lru_time_cache v0.5.0
[INFO] [stderr]     Checking try_opt v0.1.1
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking rand v0.3.20
[INFO] [stderr]     Checking term_size v0.2.3
[INFO] [stderr]     Checking isatty v0.1.6
[INFO] [stderr]     Checking sig v1.0.0
[INFO] [stderr]     Checking daemonize v0.2.3
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking clap v2.18.0
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking slog-extra v0.1.2
[INFO] [stderr]     Checking slog-scope v0.2.2
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]     Checking slog-stream v1.2.1
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num v0.1.41
[INFO] [stderr]     Checking chrono v0.2.25
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking slog-term v1.3.5
[INFO] [stderr]     Checking shadowsocks v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting 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<P: AsRef<Path>>(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<StreamCipher + 'static>,
[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<StreamCipher> = 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<SynchronousStreamCipher + 'static>,
[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<Token, RcCell<Caller>>,
[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<Caller>) {
[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<LruCache<(String, Method), Arc<Vec<u8>>>> =
[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::<impl 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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.49s
[INFO] running `Command { std: "docker" "inspect" "0e0fd44f16e408d57974469ee86acc42a1f0a02ccd3c4f7937dbaa1c3a25185f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e0fd44f16e408d57974469ee86acc42a1f0a02ccd3c4f7937dbaa1c3a25185f", kill_on_drop: false }`
[INFO] [stdout] 0e0fd44f16e408d57974469ee86acc42a1f0a02ccd3c4f7937dbaa1c3a25185f
