[INFO] fetching crate br-crypto 0.0.9... [INFO] checking br-crypto-0.0.9 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate br-crypto 0.0.9 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate br-crypto 0.0.9 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate br-crypto 0.0.9 [INFO] finished tweaking crates.io crate br-crypto 0.0.9 [INFO] tweaked toml for crates.io crate br-crypto 0.0.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate br-crypto 0.0.9 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 049b2f76057e192a34376eef81f80a16132ee1036e7f66740631764430d512b2 [INFO] running `Command { std: "docker" "start" "-a" "049b2f76057e192a34376eef81f80a16132ee1036e7f66740631764430d512b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049b2f76057e192a34376eef81f80a16132ee1036e7f66740631764430d512b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049b2f76057e192a34376eef81f80a16132ee1036e7f66740631764430d512b2", kill_on_drop: false }` [INFO] [stdout] 049b2f76057e192a34376eef81f80a16132ee1036e7f66740631764430d512b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe7d10217b83e119d2f93e8ab362bc7086c99b3a256f7b84b0401b64faa877e8 [INFO] running `Command { std: "docker" "start" "-a" "fe7d10217b83e119d2f93e8ab362bc7086c99b3a256f7b84b0401b64faa877e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Checking cpufeatures v0.2.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling rustix v0.37.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.54 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textcode v0.2.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha256 v1.1.2 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking is-terminal v0.4.6 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking br-crypto v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `br-crypto` (lib) due to 11 previous errors [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | let data = sha256(key.clone(), signature.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | let data = sha256(key.clone(), signature.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | let hmacsha256 = sha256(key.clone(), signature.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:85:76 [INFO] [stdout] | [INFO] [stdout] 85 | let hmacsha256 = sha256(key.clone(), signature.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | let header = data[0].clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let payload = data[1].clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe7d10217b83e119d2f93e8ab362bc7086c99b3a256f7b84b0401b64faa877e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7d10217b83e119d2f93e8ab362bc7086c99b3a256f7b84b0401b64faa877e8", kill_on_drop: false }` [INFO] [stdout] fe7d10217b83e119d2f93e8ab362bc7086c99b3a256f7b84b0401b64faa877e8