[INFO] fetching crate br-wechat 0.0.12... [INFO] checking br-wechat-0.0.12 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] extracting crate br-wechat 0.0.12 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate br-wechat 0.0.12 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate br-wechat 0.0.12 [INFO] finished tweaking crates.io crate br-wechat 0.0.12 [INFO] tweaked toml for crates.io crate br-wechat 0.0.12 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate br-wechat 0.0.12 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded br-file v0.0.1 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded sha256-rs v1.0.1 [INFO] [stderr] Downloaded stderrlog v0.5.4 [INFO] [stderr] Downloaded rgb v0.8.36 [INFO] [stderr] Downloaded libaes v0.6.5 [INFO] [stderr] Downloaded zopfli v0.7.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded libdeflate-sys v0.11.0 [INFO] [stderr] Downloaded aho-corasick v1.0.3 [INFO] [stderr] Downloaded textcode v0.2.2 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded oxipng v8.0.0 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded rustix v0.37.23 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded quick-xml v0.23.1 [INFO] [stderr] Downloaded xml2json-rs v1.0.1 [INFO] [stderr] Downloaded br-crypto v0.1.14 [INFO] [stderr] Downloaded os_str_bytes v6.5.1 [INFO] [stderr] Downloaded libdeflater v0.11.0 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded br-http v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac135080cd48e66e8c6f7ee4a2064b6a32a1fbea58520b43013330b26211c760 [INFO] running `Command { std: "docker" "start" "-a" "ac135080cd48e66e8c6f7ee4a2064b6a32a1fbea58520b43013330b26211c760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac135080cd48e66e8c6f7ee4a2064b6a32a1fbea58520b43013330b26211c760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac135080cd48e66e8c6f7ee4a2064b6a32a1fbea58520b43013330b26211c760", kill_on_drop: false }` [INFO] [stdout] ac135080cd48e66e8c6f7ee4a2064b6a32a1fbea58520b43013330b26211c760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22b9032eba32c6c65abb4a9a8250c7d8221dd31ba3a4138af36863fa99f8c428 [INFO] running `Command { std: "docker" "start" "-a" "22b9032eba32c6c65abb4a9a8250c7d8221dd31ba3a4138af36863fa99f8c428", kill_on_drop: false }` [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking aho-corasick v1.0.3 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking zopfli v0.7.4 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking rgb v0.8.36 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking wild v2.1.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking quick-xml v0.23.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking textcode v0.2.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking sha256-rs v1.0.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking libaes v0.6.5 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking br-crypto v0.1.14 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling libdeflate-sys v0.11.0 [INFO] [stderr] Compiling curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking xml2json-rs v1.0.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking libdeflater v0.11.0 [INFO] [stderr] Checking oxipng v8.0.0 [INFO] [stderr] Checking br-file v0.0.1 [INFO] [stderr] Checking br-http v0.0.5 [INFO] [stderr] Checking br-wechat v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/wecom.rs:49:86 [INFO] [stdout] | [INFO] [stdout] 49 | user_info = self.clone().get_by_userid(res["userid"].to_string().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/wecom.rs:49:86 [INFO] [stdout] | [INFO] [stdout] 49 | user_info = self.clone().get_by_userid(res["userid"].to_string().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/wecom.rs:50:100 [INFO] [stdout] | [INFO] [stdout] 50 | user_info["openid"] = self.clone().convert_to_openid(res["userid"].to_string().as_str().clone())["openid"].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/wecom.rs:50:100 [INFO] [stdout] | [INFO] [stdout] 50 | user_info["openid"] = self.clone().convert_to_openid(res["userid"].to_string().as_str().clone())["openid"].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/wecom.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | "userid": userid.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/wecom.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | "userid": userid.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/wecom.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | user_info["userid"] = userid.clone().into(); [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/wecom.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | user_info["userid"] = userid.clone().into(); [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/applet.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | code:code.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/applet.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | js_code:code.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/applet.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | code:code.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/applet.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | grant_type:"authorization_code".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/applet.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | js_code:code.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/applet.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | grant_type:"authorization_code".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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "22b9032eba32c6c65abb4a9a8250c7d8221dd31ba3a4138af36863fa99f8c428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b9032eba32c6c65abb4a9a8250c7d8221dd31ba3a4138af36863fa99f8c428", kill_on_drop: false }` [INFO] [stdout] 22b9032eba32c6c65abb4a9a8250c7d8221dd31ba3a4138af36863fa99f8c428