[INFO] fetching crate df-crypto 0.1.5...
[INFO] testing df-crypto-0.1.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate df-crypto 0.1.5 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate df-crypto 0.1.5
[INFO] finished tweaking crates.io crate df-crypto 0.1.5
[INFO] tweaked toml for crates.io crate df-crypto 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate df-crypto 0.1.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate df-crypto 0.1.5 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d0747c32d89771d8ee0d0bf95e694bd7819cdaa606ce2aa88ceefa48e5b40a3
[INFO] running `Command { std: "docker" "start" "-a" "8d0747c32d89771d8ee0d0bf95e694bd7819cdaa606ce2aa88ceefa48e5b40a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d0747c32d89771d8ee0d0bf95e694bd7819cdaa606ce2aa88ceefa48e5b40a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d0747c32d89771d8ee0d0bf95e694bd7819cdaa606ce2aa88ceefa48e5b40a3", kill_on_drop: false }`
[INFO] [stdout] 8d0747c32d89771d8ee0d0bf95e694bd7819cdaa606ce2aa88ceefa48e5b40a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eca11adf3aedf1d082771430ada21c77d15b8bfc7e642b373e5b5589f0e8d845
[INFO] running `Command { std: "docker" "start" "-a" "eca11adf3aedf1d082771430ada21c77d15b8bfc7e642b373e5b5589f0e8d845", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling uuid v1.2.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling sha256 v1.1.2
[INFO] [stderr]    Compiling df-crypto v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/jwt.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 "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]    = 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:62:41
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:62:69
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         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:75:30
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 |         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:85:59
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:85:87
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |         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:125:30
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.24s
[INFO] running `Command { std: "docker" "inspect" "eca11adf3aedf1d082771430ada21c77d15b8bfc7e642b373e5b5589f0e8d845", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eca11adf3aedf1d082771430ada21c77d15b8bfc7e642b373e5b5589f0e8d845", kill_on_drop: false }`
[INFO] [stdout] eca11adf3aedf1d082771430ada21c77d15b8bfc7e642b373e5b5589f0e8d845
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ccd29f9576519b7b37879211bba566e4359f2fde908cf55a2d85fce835c2608f
[INFO] running `Command { std: "docker" "start" "-a" "ccd29f9576519b7b37879211bba566e4359f2fde908cf55a2d85fce835c2608f", kill_on_drop: false }`
[INFO] [stderr]    Compiling df-crypto v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/jwt.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 "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]    = 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:62:41
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:62:69
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         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:75:30
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 |         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:85:59
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:85:87
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |         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:125:30
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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: unused import: `json::object`
[INFO] [stdout]  --> examples/jwt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::object;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> examples/jwt.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let data = jwt::Jwt::verify(token.clone(), "123456");
[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:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 "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]    = 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:62:41
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:62:69
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let data = str_to_hmacsha256(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:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         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:75:30
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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:77:31
[INFO] [stdout]    |
[INFO] [stdout] 77 |         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:85:59
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:85:87
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     let hmacsha256 = str_to_hmacsha256(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:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |         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:125:30
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "ccd29f9576519b7b37879211bba566e4359f2fde908cf55a2d85fce835c2608f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccd29f9576519b7b37879211bba566e4359f2fde908cf55a2d85fce835c2608f", kill_on_drop: false }`
[INFO] [stdout] ccd29f9576519b7b37879211bba566e4359f2fde908cf55a2d85fce835c2608f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5b5c252a22e49cf8c8a277d8e5e5f0c165ab6d2591b78f896077c1bbe8a031f9
[INFO] running `Command { std: "docker" "start" "-a" "5b5c252a22e49cf8c8a277d8e5e5f0c165ab6d2591b78f896077c1bbe8a031f9", kill_on_drop: false }`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:23:26
[INFO] [stderr]    |
[INFO] [stderr] 23 |                 "iss":iss.clone(),
[INFO] [stderr]    |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:62:41
[INFO] [stderr]    |
[INFO] [stderr] 62 |         let data = str_to_hmacsha256(key.clone(), signature.as_str().clone());
[INFO] [stderr]    |                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:62:69
[INFO] [stderr]    |
[INFO] [stderr] 62 |         let data = str_to_hmacsha256(key.clone(), signature.as_str().clone());
[INFO] [stderr]    |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:74:29
[INFO] [stderr]    |
[INFO] [stderr] 74 |         let header = data[0].clone();
[INFO] [stderr]    |                             ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:75:30
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let payload = data[1].clone();
[INFO] [stderr]    |                              ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:77:31
[INFO] [stderr]    |
[INFO] [stderr] 77 |         let sign_old = data[2].clone();
[INFO] [stderr]    |                               ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:85:59
[INFO] [stderr]    |
[INFO] [stderr] 85 |                     let hmacsha256 = str_to_hmacsha256(key.clone(), signature.as_str().clone());
[INFO] [stderr]    |                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/jwt.rs:85:87
[INFO] [stderr]    |
[INFO] [stderr] 85 |                     let hmacsha256 = str_to_hmacsha256(key.clone(), signature.as_str().clone());
[INFO] [stderr]    |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/jwt.rs:124:29
[INFO] [stderr]     |
[INFO] [stderr] 124 |         let header = data[0].clone();
[INFO] [stderr]     |                             ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/jwt.rs:125:30
[INFO] [stderr]     |
[INFO] [stderr] 125 |         let payload = data[1].clone();
[INFO] [stderr]     |                              ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: `df-crypto` (lib) generated 10 warnings (run `cargo fix --lib -p df-crypto` to apply 10 suggestions)
[INFO] [stderr] warning: unused import: `json::object`
[INFO] [stderr]  --> examples/jwt.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use json::object;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> examples/jwt.rs:18:38
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let data = jwt::Jwt::verify(token.clone(), "123456");
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `df-crypto` (example "jwt") generated 2 warnings (run `cargo fix --example "jwt" -p df-crypto` to apply 2 suggestions)
[INFO] [stderr] warning: `df-crypto` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/df_crypto-25dd5523a72e31b3)
[INFO] [stderr]    Doc-tests df_crypto
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5b5c252a22e49cf8c8a277d8e5e5f0c165ab6d2591b78f896077c1bbe8a031f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b5c252a22e49cf8c8a277d8e5e5f0c165ab6d2591b78f896077c1bbe8a031f9", kill_on_drop: false }`
[INFO] [stdout] 5b5c252a22e49cf8c8a277d8e5e5f0c165ab6d2591b78f896077c1bbe8a031f9
