[INFO] fetching crate df1t-cyph 0.2.1... [INFO] testing df1t-cyph-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate df1t-cyph 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate df1t-cyph 0.2.1 [INFO] finished tweaking crates.io crate df1t-cyph 0.2.1 [INFO] tweaked toml for crates.io crate df1t-cyph 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate df1t-cyph 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b93c7ec94a5fce5e06ab68719d92e0e92d8cc209711a3e137c7fe683965fc0c1 [INFO] running `Command { std: "docker" "start" "-a" "b93c7ec94a5fce5e06ab68719d92e0e92d8cc209711a3e137c7fe683965fc0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b93c7ec94a5fce5e06ab68719d92e0e92d8cc209711a3e137c7fe683965fc0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93c7ec94a5fce5e06ab68719d92e0e92d8cc209711a3e137c7fe683965fc0c1", kill_on_drop: false }` [INFO] [stdout] b93c7ec94a5fce5e06ab68719d92e0e92d8cc209711a3e137c7fe683965fc0c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 869648a670fd00c1bf72134a3d425214288a023ae96603ddce81bba768d105ba [INFO] running `Command { std: "docker" "start" "-a" "869648a670fd00c1bf72134a3d425214288a023ae96603ddce81bba768d105ba", kill_on_drop: false }` [INFO] [stderr] Compiling df1t-cyph v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shared/parse.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | new_vec[(i + n) % len] = vec[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] = 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/shared/parse.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | new_vec[i] = vec[(i + len - n) % len].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 0.68s [INFO] running `Command { std: "docker" "inspect" "869648a670fd00c1bf72134a3d425214288a023ae96603ddce81bba768d105ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869648a670fd00c1bf72134a3d425214288a023ae96603ddce81bba768d105ba", kill_on_drop: false }` [INFO] [stdout] 869648a670fd00c1bf72134a3d425214288a023ae96603ddce81bba768d105ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 911d7b1a23445cdeca154d6751d2038a648b836a6ae27c36bd57dc9ccec79cdf [INFO] running `Command { std: "docker" "start" "-a" "911d7b1a23445cdeca154d6751d2038a648b836a6ae27c36bd57dc9ccec79cdf", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shared/parse.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | new_vec[(i + n) % len] = vec[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] = 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/shared/parse.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | new_vec[i] = vec[(i + len - n) % len].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] Compiling df1t-cyph v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `removed_element` [INFO] [stdout] --> src/encpt/math/matrix.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let removed_element = my_vector.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shared/parse.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | new_vec[(i + n) % len] = vec[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] = 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/shared/parse.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | new_vec[i] = vec[(i + len - n) % len].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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:51:55 [INFO] [stdout] | [INFO] [stdout] 51 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:77:55 [INFO] [stdout] | [INFO] [stdout] 77 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:85:55 [INFO] [stdout] | [INFO] [stdout] 85 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:92:55 [INFO] [stdout] | [INFO] [stdout] 92 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [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 `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "911d7b1a23445cdeca154d6751d2038a648b836a6ae27c36bd57dc9ccec79cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911d7b1a23445cdeca154d6751d2038a648b836a6ae27c36bd57dc9ccec79cdf", kill_on_drop: false }` [INFO] [stdout] 911d7b1a23445cdeca154d6751d2038a648b836a6ae27c36bd57dc9ccec79cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3ac9573a29fdcb0797e48b57f790402f5cb11f6c3482e62b4ad26cf0d4469f38 [INFO] running `Command { std: "docker" "start" "-a" "3ac9573a29fdcb0797e48b57f790402f5cb11f6c3482e62b4ad26cf0d4469f38", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/shared/parse.rs:97:44 [INFO] [stderr] | [INFO] [stderr] 97 | new_vec[(i + n) % len] = vec[i].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/shared/parse.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | new_vec[i] = vec[(i + len - n) % len].clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `df1t-cyph` (lib) generated 2 warnings (run `cargo fix --lib -p df1t-cyph` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `removed_element` [INFO] [stderr] --> src/encpt/math/matrix.rs:155:21 [INFO] [stderr] | [INFO] [stderr] 155 | let removed_element = my_vector.remove(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_element` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:34:55 [INFO] [stderr] | [INFO] [stderr] 34 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:42:55 [INFO] [stderr] | [INFO] [stderr] 42 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:51:55 [INFO] [stderr] | [INFO] [stderr] 51 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:59:55 [INFO] [stderr] | [INFO] [stderr] 59 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:69:55 [INFO] [stderr] | [INFO] [stderr] 69 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:77:55 [INFO] [stderr] | [INFO] [stderr] 77 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:85:55 [INFO] [stderr] | [INFO] [stderr] 85 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:92:55 [INFO] [stdout] running 34 tests [INFO] [stderr] | [INFO] [stderr] 92 | let enc = df1t_encrypt(buffer.to_owned(), salt.clone().to_string()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `df1t-cyph` (lib test) generated 11 warnings (2 duplicates) (run `cargo fix --lib -p df1t-cyph --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/df1t_cyph-9180444d9fbfffcc) [INFO] [stdout] test encpt::analyse::read::tests::read_buffer ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::salt_extender_even ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::chr_to_mxas_test ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::salt_extender_longer ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::salt_extender_shorter ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switch_to_original_equals ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_both_different ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switch_to_original ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::try_char ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_different_second_chars ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_equal_elements ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_different_first_chars ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_mixed_collection ... ok [INFO] [stdout] test encpt::math::matrix::tests::calc_n_test2 ... ok [INFO] [stdout] test encpt::math::matrix::tests::mtrx_vals ... ok [INFO] [stdout] test encpt::math::matrix::tests::test_pop ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::swtich_to_original_1 ... ok [INFO] [stdout] test encpt::math::matrix::tests::calc_n_test1 ... ok [INFO] [stdout] test shared::parse::tests::join_a_vec ... ok [INFO] [stdout] test shared::parse::tests::split_by_6_28_elemnets ... ok [INFO] [stdout] test shared::parse::tests::split_string_then_restor_it ... ok [INFO] [stdout] test shared::parse::tests::parse_a_string ... ok [INFO] [stdout] test shared::parse::tests::flatten_test ... ok [INFO] [stdout] test encpt::math::matrix::tests::test_rvrs_vec_to_mtrx ... ok [INFO] [stdout] test tests::encp_and_decp2 ... ok [INFO] [stdout] test tests::encp_and_decp8 ... ok [INFO] [stdout] test tests::encp_and_decp3 ... ok [INFO] [stdout] test tests::encp_and_decp1 ... ok [INFO] [stdout] test tests::encp_and_decp4 ... ok [INFO] [stdout] test encpt::mapping::mapper::tests::salt_extender_empty - should panic ... ok [INFO] [stdout] test encpt::mapping::switcher::tests::switcher_unequal_args - should panic ... ok [INFO] [stdout] test tests::encp_and_decp6 - should panic ... ok [INFO] [stdout] test tests::encp_and_decp7 - should panic ... ok [INFO] [stdout] test tests::encp_and_decp5 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ac9573a29fdcb0797e48b57f790402f5cb11f6c3482e62b4ad26cf0d4469f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac9573a29fdcb0797e48b57f790402f5cb11f6c3482e62b4ad26cf0d4469f38", kill_on_drop: false }` [INFO] [stdout] 3ac9573a29fdcb0797e48b57f790402f5cb11f6c3482e62b4ad26cf0d4469f38