[INFO] fetching crate br-crypto 0.1.15...
[INFO] checking br-crypto-0.1.15 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate br-crypto 0.1.15 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate br-crypto 0.1.15 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate br-crypto 0.1.15
[INFO] finished tweaking crates.io crate br-crypto 0.1.15
[INFO] tweaked toml for crates.io crate br-crypto 0.1.15 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate br-crypto 0.1.15 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quoted_printable v0.4.8
[INFO] [stderr]   Downloaded sha256-rs v1.0.1
[INFO] [stderr]   Downloaded libaes v0.6.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.70
[INFO] [stderr]   Downloaded md5 v0.7.0
[INFO] [stderr]   Downloaded json v0.12.4
[INFO] [stderr]   Downloaded openssl-sys v0.9.96
[INFO] [stderr]   Downloaded textcode v0.2.2
[INFO] [stderr]   Downloaded openssl v0.10.60
[INFO] [stderr]   Downloaded rustix v0.38.25
[INFO] [stderr]   Downloaded mail-parser v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d9245aa0b971788a0f6e0ebd9ffe45267ad7d5aba8e97c10a81329772bf7c01
[INFO] running `Command { std: "docker" "start" "-a" "4d9245aa0b971788a0f6e0ebd9ffe45267ad7d5aba8e97c10a81329772bf7c01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d9245aa0b971788a0f6e0ebd9ffe45267ad7d5aba8e97c10a81329772bf7c01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d9245aa0b971788a0f6e0ebd9ffe45267ad7d5aba8e97c10a81329772bf7c01", kill_on_drop: false }`
[INFO] [stdout] 4d9245aa0b971788a0f6e0ebd9ffe45267ad7d5aba8e97c10a81329772bf7c01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5386aa281820c8486cc445ce1efc1f787dddf233b3fb743f90d6f7f9779db4e4
[INFO] running `Command { std: "docker" "start" "-a" "5386aa281820c8486cc445ce1efc1f787dddf233b3fb743f90d6f7f9779db4e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling openssl v0.10.60
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking mail-parser v0.9.1
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]    Compiling openssl-sys v0.9.96
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking env_logger v0.10.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking br-crypto v0.1.15 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/jwt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/jwt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/pkey.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/jwt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/jwt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/pkey.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_body` is never read
[INFO] [stdout]    --> src/base64.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut temp_body = String::new();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_body` is never read
[INFO] [stdout]    --> src/base64.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut temp_body = String::new();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_body` is never read
[INFO] [stdout]    --> src/base64.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut temp_body = String::new();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_body` is never read
[INFO] [stdout]    --> src/base64.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut temp_body = String::new();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/base64.rs:127:49
[INFO] [stdout]     |
[INFO] [stdout] 127 |         temp_body = format!("{}{}", name_last_2c.clone(), part_body);
[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/base64.rs:127:49
[INFO] [stdout]     |
[INFO] [stdout] 127 |         temp_body = format!("{}{}", name_last_2c.clone(), part_body);
[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/jwt.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 "iss":iss.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/jwt.rs:66:30
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let data = sha256(key.clone(), signature.as_str().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/jwt.rs:66:58
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let data = sha256(key.clone(), signature.as_str().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/jwt.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let header = data[0].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/jwt.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 "iss":iss.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/jwt.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let payload = data[1].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/jwt.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let sign_old = data[2].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/jwt.rs:66:30
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let data = sha256(key.clone(), signature.as_str().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/jwt.rs:89:48
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let hmacsha256 = sha256(key.clone(), signature.as_str().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/jwt.rs:66:58
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let data = sha256(key.clone(), signature.as_str().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/jwt.rs:89:76
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let hmacsha256 = sha256(key.clone(), signature.as_str().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/jwt.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let header = data[0].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/jwt.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let header = data[0].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/jwt.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let payload = data[1].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/jwt.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let payload = data[1].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/jwt.rs:185:29
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let header = data[0].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/jwt.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let sign_old = data[2].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/jwt.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let payload = data[1].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/jwt.rs:187:57
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let signature = format!("{}.{}", header, payload.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/jwt.rs:89:48
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let hmacsha256 = sha256(key.clone(), signature.as_str().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/jwt.rs:89:76
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let hmacsha256 = sha256(key.clone(), signature.as_str().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/jwt.rs:188:27
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let sign = data[2].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/jwt.rs:201:30
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let payload = data[1].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/jwt.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let header = data[0].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/jwt.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let payload = data[1].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/jwt.rs:185:29
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let header = data[0].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/jwt.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let payload = data[1].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/jwt.rs:187:57
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let signature = format!("{}.{}", header, payload.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/jwt.rs:188:27
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let sign = data[2].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/jwt.rs:201:30
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let payload = data[1].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: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.59s
[INFO] running `Command { std: "docker" "inspect" "5386aa281820c8486cc445ce1efc1f787dddf233b3fb743f90d6f7f9779db4e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5386aa281820c8486cc445ce1efc1f787dddf233b3fb743f90d6f7f9779db4e4", kill_on_drop: false }`
[INFO] [stdout] 5386aa281820c8486cc445ce1efc1f787dddf233b3fb743f90d6f7f9779db4e4
