[INFO] fetching crate br-oss 0.0.2...
[INFO] checking br-oss-0.0.2 against try#8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f for pr-114559
[INFO] extracting crate br-oss 0.0.2 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate br-oss 0.0.2 on toolchain 8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate br-oss 0.0.2
[INFO] finished tweaking crates.io crate br-oss 0.0.2
[INFO] tweaked toml for crates.io crate br-oss 0.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate br-oss 0.0.2 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" "+8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5908ec7c760def1f0abdbdb2eeb16d9b40837702aa789d34cbda989299e105ed
[INFO] running `Command { std: "docker" "start" "-a" "5908ec7c760def1f0abdbdb2eeb16d9b40837702aa789d34cbda989299e105ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5908ec7c760def1f0abdbdb2eeb16d9b40837702aa789d34cbda989299e105ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5908ec7c760def1f0abdbdb2eeb16d9b40837702aa789d34cbda989299e105ed", kill_on_drop: false }`
[INFO] [stdout] 5908ec7c760def1f0abdbdb2eeb16d9b40837702aa789d34cbda989299e105ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+8d0c454bea9d9cc2cc7e288388f3b7d1da19c04f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20eb40d37639b78f5e9b2c77dbb09405cda8b8de5cf6f7519c24f4e32d12a790
[INFO] running `Command { std: "docker" "start" "-a" "20eb40d37639b78f5e9b2c77dbb09405cda8b8de5cf6f7519c24f4e32d12a790", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking simd-adler32 v0.3.5
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]     Checking num-traits v0.2.15
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking os_str_bytes v6.5.1
[INFO] [stderr]    Compiling serde v1.0.171
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking regex-automata v0.3.3
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking stderrlog v0.5.4
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking zopfli v0.7.4
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking rayon-core v1.11.0
[INFO] [stderr]     Checking rgb v0.8.36
[INFO] [stderr]     Checking filetime v0.2.21
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]     Checking wild v2.1.0
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking flate2 v1.0.26
[INFO] [stderr]     Checking uuid v1.4.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking quick-xml v0.23.1
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]     Checking urlencoding v2.1.2
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]     Checking sha256-rs v1.0.1
[INFO] [stderr]     Checking png v0.17.9
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking num-rational v0.4.1
[INFO] [stderr]     Checking br-crypto v0.1.8
[INFO] [stderr]    Compiling libz-sys v1.1.9
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling libdeflate-sys v0.11.0
[INFO] [stderr]    Compiling curl-sys v0.4.63+curl-8.1.2
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking image v0.24.6
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking regex v1.9.1
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking libdeflater v0.11.0
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking xml2json-rs v1.0.1
[INFO] [stderr]     Checking oxipng v8.0.0
[INFO] [stderr]     Checking br-file v0.0.1
[INFO] [stderr]     Checking br-http v0.0.4
[INFO] [stderr]     Checking br-oss v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `POST`, `DELETE`, and `OPTIONS` are never constructed
[INFO] [stdout]   --> src/mode/aliyun.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | enum Method {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     POST,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     HEAD,
[INFO] [stdout] 13 |     DELETE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/mode/aliyun.rs:57:83
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let signature = br_crypto::hmac::sha1_code(self.access_key_secret.as_str().clone(), data.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]    = 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/mode/aliyun.rs:57:106
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let signature = br_crypto::hmac::sha1_code(self.access_key_secret.as_str().clone(), data.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/mode/aliyun.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut http = br_http::Http::url(url.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/mode/aliyun.rs:69:47
[INFO] [stdout]    |
[INFO] [stdout] 69 |         http.authorization(auth_token.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/mode/aliyun.rs:70:55
[INFO] [stdout]    |
[INFO] [stdout] 70 |         http.set_headers("date", datetime_gmt.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/mode/aliyun.rs:71:92
[INFO] [stdout]    |
[INFO] [stdout] 71 |         http.set_headers("host", format!("{}.{}", self.bucket_name, self.endpoint).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/mode/aliyun.rs:97:88
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let data = self._api(Method::PUT, data.into(), br_crypto::hash::str_to_md5(data.clone()).clone().as_str(), "");
[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: variants `POST`, `DELETE`, and `OPTIONS` are never constructed
[INFO] [stdout]   --> src/mode/aliyun.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | enum Method {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     POST,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     HEAD,
[INFO] [stdout] 13 |     DELETE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/mode/aliyun.rs:57:83
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let signature = br_crypto::hmac::sha1_code(self.access_key_secret.as_str().clone(), data.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]    = 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/mode/aliyun.rs:57:106
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let signature = br_crypto::hmac::sha1_code(self.access_key_secret.as_str().clone(), data.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/mode/aliyun.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut http = br_http::Http::url(url.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/mode/aliyun.rs:69:47
[INFO] [stdout]    |
[INFO] [stdout] 69 |         http.authorization(auth_token.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/mode/aliyun.rs:70:55
[INFO] [stdout]    |
[INFO] [stdout] 70 |         http.set_headers("date", datetime_gmt.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/mode/aliyun.rs:71:92
[INFO] [stdout]    |
[INFO] [stdout] 71 |         http.set_headers("host", format!("{}.{}", self.bucket_name, self.endpoint).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/mode/aliyun.rs:97:88
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let data = self._api(Method::PUT, data.into(), br_crypto::hash::str_to_md5(data.clone()).clone().as_str(), "");
[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: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.39s
[INFO] running `Command { std: "docker" "inspect" "20eb40d37639b78f5e9b2c77dbb09405cda8b8de5cf6f7519c24f4e32d12a790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20eb40d37639b78f5e9b2c77dbb09405cda8b8de5cf6f7519c24f4e32d12a790", kill_on_drop: false }`
[INFO] [stdout] 20eb40d37639b78f5e9b2c77dbb09405cda8b8de5cf6f7519c24f4e32d12a790
