[INFO] fetching crate localencrypt 0.0.4... [INFO] checking localencrypt-0.0.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate localencrypt 0.0.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate localencrypt 0.0.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333c45562d932431e6edd02c244f2a70d172a27c4c89b77eaa1eeadd0e6abad7 [INFO] running `Command { std: "docker" "start" "-a" "333c45562d932431e6edd02c244f2a70d172a27c4c89b77eaa1eeadd0e6abad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333c45562d932431e6edd02c244f2a70d172a27c4c89b77eaa1eeadd0e6abad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333c45562d932431e6edd02c244f2a70d172a27c4c89b77eaa1eeadd0e6abad7", kill_on_drop: false }` [INFO] [stdout] 333c45562d932431e6edd02c244f2a70d172a27c4c89b77eaa1eeadd0e6abad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f9238f6ce65ad6d4c90d03916c3e673b58314e0a8f881e99a77b672c8131689 [INFO] running `Command { std: "docker" "start" "-a" "7f9238f6ce65ad6d4c90d03916c3e673b58314e0a8f881e99a77b672c8131689", kill_on_drop: false }` [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking web-sys v0.3.70 [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: 3 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "7f9238f6ce65ad6d4c90d03916c3e673b58314e0a8f881e99a77b672c8131689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9238f6ce65ad6d4c90d03916c3e673b58314e0a8f881e99a77b672c8131689", kill_on_drop: false }` [INFO] [stdout] 7f9238f6ce65ad6d4c90d03916c3e673b58314e0a8f881e99a77b672c8131689