[INFO] fetching crate localencrypt 0.0.4... [INFO] checking localencrypt-0.0.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate localencrypt 0.0.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate localencrypt 0.0.4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console_log v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5ce2acd804a0e92486816bb71dbab0c3daaf5b36e2d44d515db19f79ddecf9 [INFO] running `Command { std: "docker" "start" "-a" "cf5ce2acd804a0e92486816bb71dbab0c3daaf5b36e2d44d515db19f79ddecf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5ce2acd804a0e92486816bb71dbab0c3daaf5b36e2d44d515db19f79ddecf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5ce2acd804a0e92486816bb71dbab0c3daaf5b36e2d44d515db19f79ddecf9", kill_on_drop: false }` [INFO] [stdout] cf5ce2acd804a0e92486816bb71dbab0c3daaf5b36e2d44d515db19f79ddecf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf53c1e9086310f2ec731e381ac846547ae782c2ada2a2a385e8022381c78b7 [INFO] running `Command { std: "docker" "start" "-a" "1cf53c1e9086310f2ec731e381ac846547ae782c2ada2a2a385e8022381c78b7", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking localencrypt v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/storage/local_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [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] [INFO] [stdout] warning: the item `Credentials` is imported redundantly [INFO] [stdout] --> src/api/local_encrypt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::common::Credentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | use crate::*; [INFO] [stdout] | -------- the item `Credentials` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Uint8Array` is imported redundantly [INFO] [stdout] --> src/crypto/key_generation.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use js_sys::Uint8Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | -------- the item `Uint8Array` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/storage/local_storage.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [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] [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: 4 warnings emitted [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: 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] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.38s [INFO] running `Command { std: "docker" "inspect" "1cf53c1e9086310f2ec731e381ac846547ae782c2ada2a2a385e8022381c78b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf53c1e9086310f2ec731e381ac846547ae782c2ada2a2a385e8022381c78b7", kill_on_drop: false }` [INFO] [stdout] 1cf53c1e9086310f2ec731e381ac846547ae782c2ada2a2a385e8022381c78b7 [INFO] checking localencrypt-0.0.4 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate localencrypt 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate localencrypt 0.0.4 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03eddd28469087dc3b950a72262591800bee3afdce665b515be6cc31ab81038e [INFO] running `Command { std: "docker" "start" "-a" "03eddd28469087dc3b950a72262591800bee3afdce665b515be6cc31ab81038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03eddd28469087dc3b950a72262591800bee3afdce665b515be6cc31ab81038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03eddd28469087dc3b950a72262591800bee3afdce665b515be6cc31ab81038e", kill_on_drop: false }` [INFO] [stdout] 03eddd28469087dc3b950a72262591800bee3afdce665b515be6cc31ab81038e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01e4a584fa975637ffcea520259c4e7efda0af1ff69aad7185b2f111dfb67a6 [INFO] running `Command { std: "docker" "start" "-a" "c01e4a584fa975637ffcea520259c4e7efda0af1ff69aad7185b2f111dfb67a6", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking localencrypt v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/storage/local_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [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] [INFO] [stdout] warning: the item `Credentials` is imported redundantly [INFO] [stdout] --> src/api/local_encrypt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::common::Credentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | use crate::*; [INFO] [stdout] | -------- the item `Credentials` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Uint8Array` is imported redundantly [INFO] [stdout] --> src/crypto/key_generation.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use js_sys::Uint8Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | -------- the item `Uint8Array` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/storage/local_storage.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [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] [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: 4 warnings emitted [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: 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] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "c01e4a584fa975637ffcea520259c4e7efda0af1ff69aad7185b2f111dfb67a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01e4a584fa975637ffcea520259c4e7efda0af1ff69aad7185b2f111dfb67a6", kill_on_drop: false }` [INFO] [stdout] c01e4a584fa975637ffcea520259c4e7efda0af1ff69aad7185b2f111dfb67a6