[INFO] fetching crate br-crypto 0.1.15...
[INFO] checking br-crypto-0.1.15 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate br-crypto 0.1.15 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate br-crypto 0.1.15 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-6-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" "+nightly-2024-02-05" "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 md5 v0.7.0
[INFO] [stderr]   Downloaded libaes v0.6.5
[INFO] [stderr]   Downloaded mail-parser v0.9.1
[INFO] [stderr]   Downloaded sha256-rs v1.0.1
[INFO] [stderr]   Downloaded textcode v0.2.2
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17d20a3df39aa379b0b12d9416c6aafb2934811a8b292edeb6aae588e888d44f
[INFO] running `Command { std: "docker" "start" "-a" "17d20a3df39aa379b0b12d9416c6aafb2934811a8b292edeb6aae588e888d44f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17d20a3df39aa379b0b12d9416c6aafb2934811a8b292edeb6aae588e888d44f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17d20a3df39aa379b0b12d9416c6aafb2934811a8b292edeb6aae588e888d44f", kill_on_drop: false }`
[INFO] [stdout] 17d20a3df39aa379b0b12d9416c6aafb2934811a8b292edeb6aae588e888d44f
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94e9ddd17cc4e0f0ca9e6b7080dae1f928de8caee8672f2042b59f53531198b3
[INFO] running `Command { std: "docker" "start" "-a" "94e9ddd17cc4e0f0ca9e6b7080dae1f928de8caee8672f2042b59f53531198b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]    Compiling openssl v0.10.60
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking mail-parser v0.9.1
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]    Compiling cc v1.0.83
[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/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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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 [unoptimized + debuginfo] target(s) in 4.87s
[INFO] running `Command { std: "docker" "inspect" "94e9ddd17cc4e0f0ca9e6b7080dae1f928de8caee8672f2042b59f53531198b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94e9ddd17cc4e0f0ca9e6b7080dae1f928de8caee8672f2042b59f53531198b3", kill_on_drop: false }`
[INFO] [stdout] 94e9ddd17cc4e0f0ca9e6b7080dae1f928de8caee8672f2042b59f53531198b3
[INFO] checking br-crypto-0.1.15 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate br-crypto 0.1.15 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate br-crypto 0.1.15 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-6-tc2/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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 289071ea0ebf6b63b016e6fe0cbeaa8840e19cb04a9586c5bb7ae707156bceaa
[INFO] running `Command { std: "docker" "start" "-a" "289071ea0ebf6b63b016e6fe0cbeaa8840e19cb04a9586c5bb7ae707156bceaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "289071ea0ebf6b63b016e6fe0cbeaa8840e19cb04a9586c5bb7ae707156bceaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "289071ea0ebf6b63b016e6fe0cbeaa8840e19cb04a9586c5bb7ae707156bceaa", kill_on_drop: false }`
[INFO] [stdout] 289071ea0ebf6b63b016e6fe0cbeaa8840e19cb04a9586c5bb7ae707156bceaa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 15300e33f92dae8d281233698a787ca284187e25e5d43797654ad6f55c19de79
[INFO] running `Command { std: "docker" "start" "-a" "15300e33f92dae8d281233698a787ca284187e25e5d43797654ad6f55c19de79", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]    Compiling openssl v0.10.60
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking mail-parser v0.9.1
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]    Compiling cc v1.0.83
[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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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 [unoptimized + debuginfo] target(s) in 4.84s
[INFO] running `Command { std: "docker" "inspect" "15300e33f92dae8d281233698a787ca284187e25e5d43797654ad6f55c19de79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15300e33f92dae8d281233698a787ca284187e25e5d43797654ad6f55c19de79", kill_on_drop: false }`
[INFO] [stdout] 15300e33f92dae8d281233698a787ca284187e25e5d43797654ad6f55c19de79
