[INFO] fetching crate localencrypt 0.0.4... [INFO] checking localencrypt-0.0.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate localencrypt 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate localencrypt 0.0.4 [INFO] finished tweaking crates.io crate localencrypt 0.0.4 [INFO] tweaked toml for crates.io crate localencrypt 0.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate localencrypt 0.0.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8959b8a9b416947df763b5b2b85248f20cbaf3403b75c90ab46b19e23dc6ceea [INFO] running `Command { std: "docker" "start" "-a" "8959b8a9b416947df763b5b2b85248f20cbaf3403b75c90ab46b19e23dc6ceea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8959b8a9b416947df763b5b2b85248f20cbaf3403b75c90ab46b19e23dc6ceea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8959b8a9b416947df763b5b2b85248f20cbaf3403b75c90ab46b19e23dc6ceea", kill_on_drop: false }` [INFO] [stdout] 8959b8a9b416947df763b5b2b85248f20cbaf3403b75c90ab46b19e23dc6ceea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97189ed3cd0fd0a86ed7bfa7b18c242b73b51476c5251a79b7cc0febd9b00937 [INFO] running `Command { std: "docker" "start" "-a" "97189ed3cd0fd0a86ed7bfa7b18c242b73b51476c5251a79b7cc0febd9b00937", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking localencrypt v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uint8array_to_string` [INFO] [stdout] --> src/utils/mod.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | pub use convert_types::{string_to_uint8array, uint8array_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uint8array_to_string` [INFO] [stdout] --> src/utils/mod.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | pub use convert_types::{string_to_uint8array, uint8array_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_encrypt` is never read [INFO] [stdout] --> src/api/local_encrypt_js.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LocalEncryptJs { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | local_encrypt: LocalEncrypt, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEncryptJs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ENVIRONMENT` is never used [INFO] [stdout] --> src/common/object_key.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_ENVIRONMENT: &str = "LocalEncrypt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_builder_memory_backend` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | async fn test_builder_memory_backend() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_builder_local_storage_backend` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | async fn test_builder_local_storage_backend() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_new_memory_backend` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | async fn test_new_memory_backend() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_local_encrypt_equality` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | async fn test_local_encrypt_equality() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_initiate_with_local_storage` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | async fn test_initiate_with_local_storage() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hard_reset` is never used [INFO] [stdout] --> src/api/local_encrypt.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | async fn test_hard_reset() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_encrypt` is never read [INFO] [stdout] --> src/api/local_encrypt_js.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LocalEncryptJs { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | local_encrypt: LocalEncrypt, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEncryptJs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_credentials_new` is never used [INFO] [stdout] --> src/common/credentials.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | async fn test_credentials_new() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_credentials_debug` is never used [INFO] [stdout] --> src/common/credentials.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | async fn test_credentials_debug() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ENVIRONMENT` is never used [INFO] [stdout] --> src/common/object_key.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_ENVIRONMENT: &str = "LocalEncrypt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_object_key_new` is never used [INFO] [stdout] --> src/common/object_key.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn test_object_key_new() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_invalid_object_key_creation` is never used [INFO] [stdout] --> src/common/object_key.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | async fn test_invalid_object_key_creation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_object_key_new_empty_tag_and_id` is never used [INFO] [stdout] --> src/common/object_key.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn test_object_key_new_empty_tag_and_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_object_key_new_error_message` is never used [INFO] [stdout] --> src/common/object_key.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn test_object_key_new_error_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hash_username` is never used [INFO] [stdout] --> src/crypto/encryption.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | async fn test_hash_username() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_crypto_key` is never used [INFO] [stdout] --> src/crypto/encryption.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | async fn test_derive_crypto_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_crypto_key_empty_password` is never used [INFO] [stdout] --> src/crypto/encryption.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | async fn test_derive_crypto_key_empty_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_encrypt_and_decrypt` is never used [INFO] [stdout] --> src/crypto/encryption.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | async fn test_encrypt_and_decrypt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key_usages_to_js` is never used [INFO] [stdout] --> src/crypto/key_generation.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | async fn test_key_usages_to_js() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_import_key` is never used [INFO] [stdout] --> src/crypto/key_generation.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | async fn test_import_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_pbkdf2_params` is never used [INFO] [stdout] --> src/crypto/key_generation.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn test_create_pbkdf2_params() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_aes_key_gen_params` is never used [INFO] [stdout] --> src/crypto/key_generation.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn test_create_aes_key_gen_params() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_key` is never used [INFO] [stdout] --> src/crypto/key_generation.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | async fn test_derive_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_crypto_subtle` is never used [INFO] [stdout] --> src/crypto/utils.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | async fn test_get_crypto_subtle() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_key_same_password` is never used [INFO] [stdout] --> src/crypto/utils.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn test_derive_key_same_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_key_empty_password` is never used [INFO] [stdout] --> src/crypto/utils.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | async fn test_derive_key_empty_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_key_different_salt` is never used [INFO] [stdout] --> src/crypto/utils.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | async fn test_derive_key_different_salt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_derive_key_same_salt_different_password` is never used [INFO] [stdout] --> src/crypto/utils.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | async fn test_derive_key_same_salt_different_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_or_save_salt` is never used [INFO] [stdout] --> src/crypto/utils.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | async fn test_load_or_save_salt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_list_items` is never used [INFO] [stdout] --> src/storage/local_storage.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | async fn test_list_items() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_save_and_load_content` is never used [INFO] [stdout] --> src/storage/local_storage.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | async fn test_save_and_load_content() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_add_and_delete_items` is never used [INFO] [stdout] --> src/storage/local_storage.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | async fn test_add_and_delete_items() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_delete_non_existent_item` is never used [INFO] [stdout] --> src/storage/local_storage.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | async fn test_delete_non_existent_item() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_non_existent_item` is never used [INFO] [stdout] --> src/storage/local_storage.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | async fn test_load_non_existent_item() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_populate_meta_stored` is never used [INFO] [stdout] --> src/storage/local_storage.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | async fn test_populate_meta_stored() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_validate_password` is never used [INFO] [stdout] --> src/storage/local_storage.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | async fn test_validate_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_change_password` is never used [INFO] [stdout] --> src/storage/local_storage.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | async fn test_change_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_save_and_load_string` is never used [INFO] [stdout] --> src/storage/local_storage_ops.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | async fn test_save_and_load_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_delete_string` is never used [INFO] [stdout] --> src/storage/local_storage_ops.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_delete_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_storage_key` is never used [INFO] [stdout] --> src/storage/local_storage_ops.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn test_create_storage_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_new` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | async fn test_new() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_or_validate_new_user` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | async fn test_create_or_validate_new_user() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_or_validate_existing_user_wrong_password` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | async fn test_create_or_validate_existing_user_wrong_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_or_validate_existing_user_correct_password` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | async fn test_create_or_validate_existing_user_correct_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exists` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | async fn test_exists() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_reset` is never used [INFO] [stdout] --> src/storage/local_storage_user.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | async fn test_reset() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_new` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | async fn test_new() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_for_deletion` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn test_for_deletion() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_save_load_delete` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | async fn test_save_load_delete() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exists` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | async fn test_exists() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_empty` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | async fn test_empty() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_for_deletion_no_key` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | async fn test_for_deletion_no_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_large_string` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | async fn test_large_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_different_crypto_key` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | async fn test_different_crypto_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_special_characters_in_object_key` is never used [INFO] [stdout] --> src/storage/secure_storage.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | async fn test_special_characters_in_object_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_initiate_with_local_storage` is never used [INFO] [stdout] --> src/storage/storage_backend.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | async fn test_initiate_with_local_storage() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hard_reset` is never used [INFO] [stdout] --> src/storage/storage_backend.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | async fn test_hard_reset() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_validate_password` is never used [INFO] [stdout] --> src/storage/storage_backend.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | async fn test_validate_password() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_change_password_local_storage` is never used [INFO] [stdout] --> src/storage/storage_backend.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | async fn test_change_password_local_storage() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_generate_string` is never used [INFO] [stdout] --> src/utils/string_ops.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_generate_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_generate_string_base64` is never used [INFO] [stdout] --> src/utils/string_ops.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_generate_string_base64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_generate_password_base64` is never used [INFO] [stdout] --> src/utils/string_ops.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn test_generate_password_base64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_generate_salt_base64` is never used [INFO] [stdout] --> src/utils/string_ops.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn test_generate_salt_base64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/storage/local_storage_user.rs:113:71 [INFO] [stdout] | [INFO] [stdout] 113 | let credentials = Credentials::new(Some(environment), username.clone(), password.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/storage/local_storage_user.rs:113:89 [INFO] [stdout] | [INFO] [stdout] 113 | let credentials = Credentials::new(Some(environment), username.clone(), password.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/storage/local_storage_user.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 134 | let credentials = Credentials::new(Some(environment), username.clone(), password.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/storage/local_storage_user.rs:134:89 [INFO] [stdout] | [INFO] [stdout] 134 | let credentials = Credentials::new(Some(environment), username.clone(), password.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/storage/local_storage_user.rs:136:57 [INFO] [stdout] | [INFO] [stdout] 136 | Credentials::new(Some(environment), username.clone(), "wrong_password"); [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/storage/local_storage_user.rs:154:58 [INFO] [stdout] | [INFO] [stdout] 154 | let credentials = Credentials::new(None, username.clone(), password.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/storage/local_storage_user.rs:154:76 [INFO] [stdout] | [INFO] [stdout] 154 | let credentials = Credentials::new(None, username.clone(), password.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/storage/local_storage_user.rs:193:71 [INFO] [stdout] | [INFO] [stdout] 193 | let credentials = Credentials::new(Some(environment), username.clone(), password.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/storage/local_storage_user.rs:193:89 [INFO] [stdout] | [INFO] [stdout] 193 | let credentials = Credentials::new(Some(environment), username.clone(), password.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 17.57s [INFO] running `Command { std: "docker" "inspect" "97189ed3cd0fd0a86ed7bfa7b18c242b73b51476c5251a79b7cc0febd9b00937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97189ed3cd0fd0a86ed7bfa7b18c242b73b51476c5251a79b7cc0febd9b00937", kill_on_drop: false }` [INFO] [stdout] 97189ed3cd0fd0a86ed7bfa7b18c242b73b51476c5251a79b7cc0febd9b00937