[INFO] fetching crate i2p_client 0.2.9... [INFO] testing i2p_client-0.2.9 against 1.90.0 for beta-1.91-3 [INFO] extracting crate i2p_client 0.2.9 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate i2p_client 0.2.9 [INFO] finished tweaking crates.io crate i2p_client 0.2.9 [INFO] tweaked toml for crates.io crate i2p_client 0.2.9 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate i2p_client 0.2.9 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate i2p_client 0.2.9 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded escargot v0.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded nom v2.2.1 [INFO] [stderr] Downloaded base64 v0.12.0 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded predicates v1.0.3 [INFO] [stderr] Downloaded assert_cmd v0.10.2 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded num-integer v0.1.42 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3665d0432654e84160ccbfc7c6da437001db673c37fe905c976d10f8def1713a [INFO] running `Command { std: "docker" "start" "-a" "3665d0432654e84160ccbfc7c6da437001db673c37fe905c976d10f8def1713a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3665d0432654e84160ccbfc7c6da437001db673c37fe905c976d10f8def1713a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3665d0432654e84160ccbfc7c6da437001db673c37fe905c976d10f8def1713a", kill_on_drop: false }` [INFO] [stdout] 3665d0432654e84160ccbfc7c6da437001db673c37fe905c976d10f8def1713a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fbeb586df659ee4efbd3053a43be6f61e80c42af1b3b9b0fb0070bde13b4b6f [INFO] running `Command { std: "docker" "start" "-a" "3fbeb586df659ee4efbd3053a43be6f61e80c42af1b3b9b0fb0070bde13b4b6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling i2p_client v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [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:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3fbeb586df659ee4efbd3053a43be6f61e80c42af1b3b9b0fb0070bde13b4b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbeb586df659ee4efbd3053a43be6f61e80c42af1b3b9b0fb0070bde13b4b6f", kill_on_drop: false }` [INFO] [stdout] 3fbeb586df659ee4efbd3053a43be6f61e80c42af1b3b9b0fb0070bde13b4b6f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 023e90e4b76176d9b2fd2d80bdd3ea98783fed19ffb8a6be7fd55d0204265353 [INFO] running `Command { std: "docker" "start" "-a" "023e90e4b76176d9b2fd2d80bdd3ea98783fed19ffb8a6be7fd55d0204265353", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [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:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v1.0.3 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling i2p_client v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> tests/i2p.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; // Run programs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_cmd::prelude::*` [INFO] [stdout] --> tests/i2p.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use assert_cmd::prelude::*; // Add methods on commands [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:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &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: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [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:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "023e90e4b76176d9b2fd2d80bdd3ea98783fed19ffb8a6be7fd55d0204265353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023e90e4b76176d9b2fd2d80bdd3ea98783fed19ffb8a6be7fd55d0204265353", kill_on_drop: false }` [INFO] [stdout] 023e90e4b76176d9b2fd2d80bdd3ea98783fed19ffb8a6be7fd55d0204265353 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c8f090aaa3f7378868deccd81fc591455581f27ba05dd4921bca84b0dd7d106 [INFO] running `Command { std: "docker" "start" "-a" "4c8f090aaa3f7378868deccd81fc591455581f27ba05dd4921bca84b0dd7d106", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | let new_vec = vec.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/lib.rs:68:49 [INFO] [stderr] | [INFO] [stderr] 68 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/lib.rs:69:48 [INFO] [stderr] | [INFO] [stderr] 69 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:84:22 [INFO] [stderr] | [INFO] [stderr] 84 | let new_vec = vec.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/lib.rs:86:49 [INFO] [stderr] | [INFO] [stderr] 86 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/lib.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `i2p_client` (lib) generated 6 warnings (run `cargo fix --lib -p i2p_client` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `std::process::Command` [INFO] [stderr] --> tests/i2p.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::process::Command; // Run programs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `assert_cmd::prelude::*` [INFO] [stderr] --> tests/i2p.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use assert_cmd::prelude::*; // Add methods on commands [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `i2p_client` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `i2p_client` (test "i2p") generated 2 warnings (run `cargo fix --test "i2p"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/i2p_client-03b2ecd0c5170636) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test parsers::tests::naming_reply ... ok [INFO] [stdout] test parsers::tests::hello ... ok [INFO] [stdout] test parsers::tests::dest_reply ... ok [INFO] [stdout] test parsers::tests::stream_status ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test parsers::tests::session_status ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/i2p_client.rs (/opt/rustwide/target/debug/deps/i2p_client-22cdd6dadb071645) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/i2p.rs (/opt/rustwide/target/debug/deps/i2p-0087adc1e62b41f0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests i2p_client [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c8f090aaa3f7378868deccd81fc591455581f27ba05dd4921bca84b0dd7d106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8f090aaa3f7378868deccd81fc591455581f27ba05dd4921bca84b0dd7d106", kill_on_drop: false }` [INFO] [stdout] 4c8f090aaa3f7378868deccd81fc591455581f27ba05dd4921bca84b0dd7d106