[INFO] fetching crate br-wechat 0.0.12...
[INFO] testing br-wechat-0.0.12 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[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 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded is-terminal v0.4.7
[INFO] [stderr]   Downloaded windows-targets v0.48.1
[INFO] [stderr]   Downloaded json v0.12.4
[INFO] [stderr]   Downloaded aho-corasick v1.0.3
[INFO] [stderr]   Downloaded cc v1.0.82
[INFO] [stderr]   Downloaded br-crypto v0.1.14
[INFO] [stderr]   Downloaded fdeflate v0.3.0
[INFO] [stderr]   Downloaded sha256-rs v1.0.1
[INFO] [stderr]   Downloaded os_str_bytes v6.5.1
[INFO] [stderr]   Downloaded libaes v0.6.5
[INFO] [stderr]   Downloaded textcode v0.2.2
[INFO] [stderr]   Downloaded png v0.17.9
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.0
[INFO] [stderr]   Downloaded libdeflate-sys v0.11.0
[INFO] [stderr]   Downloaded rayon v1.7.0
[INFO] [stderr]   Downloaded quick-xml v0.23.1
[INFO] [stderr]   Downloaded serde_json v1.0.104
[INFO] [stderr]   Downloaded syn v2.0.28
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.0
[INFO] [stderr]   Downloaded libdeflater v0.11.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.15
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.3
[INFO] [stderr]   Downloaded rayon-core v1.11.0
[INFO] [stderr]   Downloaded curl-sys v0.4.65+curl-8.2.1
[INFO] [stderr]   Downloaded stderrlog v0.5.4
[INFO] [stderr]   Downloaded typed-arena v2.0.2
[INFO] [stderr]   Downloaded zopfli v0.7.4
[INFO] [stderr]   Downloaded oxipng v8.0.0
[INFO] [stderr]   Downloaded serde v1.0.183
[INFO] [stderr]   Downloaded flate2 v1.0.26
[INFO] [stderr]   Downloaded bytemuck v1.13.1
[INFO] [stderr]   Downloaded rgb v0.8.36
[INFO] [stderr]   Downloaded wild v2.1.0
[INFO] [stderr]   Downloaded br-file v0.0.1
[INFO] [stderr]   Downloaded xml2json-rs v1.0.1
[INFO] [stderr]   Downloaded br-http v0.0.5
[INFO] [stderr]   Downloaded quote v1.0.32
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.0
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e305bbf4013fd91d291ebfb2f202adb1c0e12f37bf79546febd2e13940b3348
[INFO] running `Command { std: "docker" "start" "-a" "3e305bbf4013fd91d291ebfb2f202adb1c0e12f37bf79546febd2e13940b3348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e305bbf4013fd91d291ebfb2f202adb1c0e12f37bf79546febd2e13940b3348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e305bbf4013fd91d291ebfb2f202adb1c0e12f37bf79546febd2e13940b3348", kill_on_drop: false }`
[INFO] [stdout] 3e305bbf4013fd91d291ebfb2f202adb1c0e12f37bf79546febd2e13940b3348
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 000f9d411cbaa7ba4aac439fcfcd3da612ebf27eb191076f257f8ef7d08b876e
[INFO] running `Command { std: "docker" "start" "-a" "000f9d411cbaa7ba4aac439fcfcd3da612ebf27eb191076f257f8ef7d08b876e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling os_str_bytes v6.5.1
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling png v0.17.9
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling aho-corasick v1.0.3
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling serde_json v1.0.104
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libdeflate-sys v0.11.0
[INFO] [stderr]    Compiling curl-sys v0.4.65+curl-8.2.1
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling zopfli v0.7.4
[INFO] [stderr]    Compiling stderrlog v0.5.4
[INFO] [stderr]    Compiling regex-automata v0.3.6
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling filetime v0.2.22
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling rgb v0.8.36
[INFO] [stderr]    Compiling libdeflater v0.11.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling wild v2.1.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling uuid v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling quick-xml v0.23.1
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling textcode v0.2.2
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling libaes v0.6.5
[INFO] [stderr]    Compiling oxipng v8.0.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling sha256-rs v1.0.1
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling br-crypto v0.1.14
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling br-file v0.0.1
[INFO] [stderr]    Compiling xml2json-rs v1.0.1
[INFO] [stderr]    Compiling br-http v0.0.5
[INFO] [stderr]    Compiling 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: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: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: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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.09s
[INFO] running `Command { std: "docker" "inspect" "000f9d411cbaa7ba4aac439fcfcd3da612ebf27eb191076f257f8ef7d08b876e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000f9d411cbaa7ba4aac439fcfcd3da612ebf27eb191076f257f8ef7d08b876e", kill_on_drop: false }`
[INFO] [stdout] 000f9d411cbaa7ba4aac439fcfcd3da612ebf27eb191076f257f8ef7d08b876e
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b7fa4e1f1ef47e628861f67d20c7f68b37f199fdfa6d9c88e4c3439af3712f6
[INFO] running `Command { std: "docker" "start" "-a" "4b7fa4e1f1ef47e628861f67d20c7f68b37f199fdfa6d9c88e4c3439af3712f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling rustix v0.37.23
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling humantime v2.1.0
[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: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/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: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] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling 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: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: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: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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.68s
[INFO] running `Command { std: "docker" "inspect" "4b7fa4e1f1ef47e628861f67d20c7f68b37f199fdfa6d9c88e4c3439af3712f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b7fa4e1f1ef47e628861f67d20c7f68b37f199fdfa6d9c88e4c3439af3712f6", kill_on_drop: false }`
[INFO] [stdout] 4b7fa4e1f1ef47e628861f67d20c7f68b37f199fdfa6d9c88e4c3439af3712f6
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e1b7882dbaebb6d91815b908d7ef6d43e3fd6fdc43b375d98dbc3b9659f9fe61
[INFO] running `Command { std: "docker" "start" "-a" "e1b7882dbaebb6d91815b908d7ef6d43e3fd6fdc43b375d98dbc3b9659f9fe61", kill_on_drop: false }`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/wecom.rs:49:86
[INFO] [stderr]    |
[INFO] [stderr] 49 |             user_info = self.clone().get_by_userid(res["userid"].to_string().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]    = 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/wecom.rs:50:100
[INFO] [stderr]    |
[INFO] [stderr] 50 |             user_info["openid"] = self.clone().convert_to_openid(res["userid"].to_string().as_str().clone())["openid"].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/wecom.rs:73:29
[INFO] [stderr]    |
[INFO] [stderr] 73 |             "userid": userid.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/wecom.rs:77:41
[INFO] [stderr]    |
[INFO] [stderr] 77 |             user_info["userid"] = userid.clone().into();
[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/applet.rs:46:22
[INFO] [stderr]    |
[INFO] [stderr] 46 |             code:code.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/applet.rs:64:25
[INFO] [stderr]    |
[INFO] [stderr] 64 |             js_code:code.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/applet.rs:65:44
[INFO] [stderr]    |
[INFO] [stderr] 65 |             grant_type:"authorization_code".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: `br-wechat` (lib) generated 7 warnings (run `cargo fix --lib -p br-wechat` to apply 7 suggestions)
[INFO] [stderr] warning: `br-wechat` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/br_wechat-fa835e813cf1caf3)
[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] [stderr]    Doc-tests br_wechat
[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" "e1b7882dbaebb6d91815b908d7ef6d43e3fd6fdc43b375d98dbc3b9659f9fe61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1b7882dbaebb6d91815b908d7ef6d43e3fd6fdc43b375d98dbc3b9659f9fe61", kill_on_drop: false }`
[INFO] [stdout] e1b7882dbaebb6d91815b908d7ef6d43e3fd6fdc43b375d98dbc3b9659f9fe61
