[INFO] cloning repository https://github.com/ierror/ssh-permit-a38 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ierror/ssh-permit-a38" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fierror%2Fssh-permit-a38", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fierror%2Fssh-permit-a38'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae88aa13206c7313d8aacfde2392a0931d00dafb [INFO] checking ierror/ssh-permit-a38 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fierror%2Fssh-permit-a38" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ierror/ssh-permit-a38 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ierror/ssh-permit-a38 [INFO] finished tweaking git repo https://github.com/ierror/ssh-permit-a38 [INFO] tweaked toml for git repo https://github.com/ierror/ssh-permit-a38 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ierror/ssh-permit-a38 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7bb40a04d95ad84df65710f866dd10b81dd4670acd2d248aed7faad92d276b4 [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" "b7bb40a04d95ad84df65710f866dd10b81dd4670acd2d248aed7faad92d276b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7bb40a04d95ad84df65710f866dd10b81dd4670acd2d248aed7faad92d276b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bb40a04d95ad84df65710f866dd10b81dd4670acd2d248aed7faad92d276b4", kill_on_drop: false }` [INFO] [stdout] b7bb40a04d95ad84df65710f866dd10b81dd4670acd2d248aed7faad92d276b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] f3f9ac2b1fd8b0cd3d32897d7d879b3ef55ae9b10fda39fa11e819c62bea7487 [INFO] running `Command { std: "docker" "start" "-a" "f3f9ac2b1fd8b0cd3d32897d7d879b3ef55ae9b10fda39fa11e819c62bea7487", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling bytecount v0.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rprompt v1.0.3 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rpassword v1.0.2 [INFO] [stderr] Compiling cmake v0.1.29 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Compiling remove_dir_all v0.3.0 [INFO] [stderr] Compiling tempdir v0.3.6 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.27 [INFO] [stderr] Compiling libssh2-sys v0.2.6 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking serde_json v1.0.10 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Checking ssh2 v0.3.2 [INFO] [stderr] Checking ssh_permit_a38 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/ssh_config.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get() -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut agent = try!(sess.agent()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(agent.connect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let identity = try!(identity); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/subcommand_sync.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | fn userauth_agent(sess: &mut Session, ssh_user: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/ssh_config.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let ssh_config_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/subcommand_sync.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let private_key_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cli_flow.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | yes_no = yes_no.trim_right().trim_left().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/cli_flow.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | yes_no = yes_no.trim_right().trim_left().to_owned(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cli_flow.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | input = input.trim_right().trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/cli_flow.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | input = input.trim_right().trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/subcommand_sync.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | home.trim_right().trim_left().to_owned() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/subcommand_sync.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | home.trim_right().trim_left().to_owned() [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/subcommand_user.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | public_key: public_key.trim_right().trim_left().to_owned(), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/subcommand_user.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | public_key: public_key.trim_right().trim_left().to_owned(), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subcommand_sync.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut private_key_file_default = private_key_path.to_str().unwrap(); [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/subcommand_sync.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut r_get_home = channel.exec("echo $HOME"); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_ok` that must be used [INFO] [stdout] --> src/subcommand_sync.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | channel.wait_close().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.3.3 [INFO] [stderr] Compiling skeptic v0.13.2 [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/ssh_config.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get() -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut agent = try!(sess.agent()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(agent.connect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subcommand_sync.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let identity = try!(identity); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/subcommand_sync.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | fn userauth_agent(sess: &mut Session, ssh_user: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/ssh_config.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let ssh_config_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/subcommand_sync.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let private_key_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_ok` that must be used [INFO] [stdout] --> tests/integration.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fs::remove_file(&settings_fixtures_copy(test_id).as_path()).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cli_flow.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | yes_no = yes_no.trim_right().trim_left().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/cli_flow.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | yes_no = yes_no.trim_right().trim_left().to_owned(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cli_flow.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | input = input.trim_right().trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/cli_flow.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | input = input.trim_right().trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/subcommand_sync.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | home.trim_right().trim_left().to_owned() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/subcommand_sync.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | home.trim_right().trim_left().to_owned() [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/subcommand_user.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | public_key: public_key.trim_right().trim_left().to_owned(), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/subcommand_user.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | public_key: public_key.trim_right().trim_left().to_owned(), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subcommand_sync.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut private_key_file_default = private_key_path.to_str().unwrap(); [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/subcommand_sync.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut r_get_home = channel.exec("echo $HOME"); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_ok` that must be used [INFO] [stdout] --> src/subcommand_sync.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | channel.wait_close().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.27s [INFO] running `Command { std: "docker" "inspect" "f3f9ac2b1fd8b0cd3d32897d7d879b3ef55ae9b10fda39fa11e819c62bea7487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f9ac2b1fd8b0cd3d32897d7d879b3ef55ae9b10fda39fa11e819c62bea7487", kill_on_drop: false }` [INFO] [stdout] f3f9ac2b1fd8b0cd3d32897d7d879b3ef55ae9b10fda39fa11e819c62bea7487