[INFO] fetching crate uix 0.0.7... [INFO] checking uix-0.0.7 against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] extracting crate uix 0.0.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate uix 0.0.7 on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uix 0.0.7 [INFO] finished tweaking crates.io crate uix 0.0.7 [INFO] tweaked toml for crates.io crate uix 0.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate uix 0.0.7 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd970386dfd25a7bc10e373d9d42617d292bbb533bb573fdda6cdb7d72dfd0a2 [INFO] running `Command { std: "docker" "start" "-a" "dd970386dfd25a7bc10e373d9d42617d292bbb533bb573fdda6cdb7d72dfd0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd970386dfd25a7bc10e373d9d42617d292bbb533bb573fdda6cdb7d72dfd0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd970386dfd25a7bc10e373d9d42617d292bbb533bb573fdda6cdb7d72dfd0a2", kill_on_drop: false }` [INFO] [stdout] dd970386dfd25a7bc10e373d9d42617d292bbb533bb573fdda6cdb7d72dfd0a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767c871b88115970aa94bde4e9fe3679ee6535b0bb3cf7f56937382f1042de83 [INFO] running `Command { std: "docker" "start" "-a" "767c871b88115970aa94bde4e9fe3679ee6535b0bb3cf7f56937382f1042de83", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.14 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Checking redis v0.21.4 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking cf v0.0.4 [INFO] [stderr] Checking uix v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | &v.pop(); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = &v.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | &v.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &v.push(rand::thread_rng().gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | let mut cmd = std::process::Command::new(commands_chain[0].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | cmd.arg(commands_chain[i].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | &v.pop(); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = &v.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | &v.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &v.push(rand::thread_rng().gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | let mut cmd = std::process::Command::new(commands_chain[0].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | cmd.arg(commands_chain[i].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `syscall` is never used [INFO] [stdout] --> src/lib.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn syscall(commands_chain: Vec<&str>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/net.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct RedisSync { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 70 | client: redis::Client, [INFO] [stdout] 71 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_server` is never used [INFO] [stdout] --> src/net.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl RedisSync { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn from_server(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | &v.pop(); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = &v.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | &v.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &v.push(rand::thread_rng().gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | let mut cmd = std::process::Command::new(commands_chain[0].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | cmd.arg(commands_chain[i].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `syscall` is never used [INFO] [stdout] --> src/lib.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn syscall(commands_chain: Vec<&str>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/net.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct RedisSync { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 70 | client: redis::Client, [INFO] [stdout] 71 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_server` is never used [INFO] [stdout] --> src/net.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl RedisSync { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn from_server(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | &v.pop(); [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = &v.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | &v.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &v.push(rand::thread_rng().gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | let mut cmd = std::process::Command::new(commands_chain[0].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | cmd.arg(commands_chain[i].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "767c871b88115970aa94bde4e9fe3679ee6535b0bb3cf7f56937382f1042de83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767c871b88115970aa94bde4e9fe3679ee6535b0bb3cf7f56937382f1042de83", kill_on_drop: false }` [INFO] [stdout] 767c871b88115970aa94bde4e9fe3679ee6535b0bb3cf7f56937382f1042de83