[INFO] fetching crate br-ocr 0.0.6...
[INFO] testing br-ocr-0.0.6 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate br-ocr 0.0.6 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate br-ocr 0.0.6 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-ocr 0.0.6
[INFO] finished tweaking crates.io crate br-ocr 0.0.6
[INFO] tweaked toml for crates.io crate br-ocr 0.0.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate br-ocr 0.0.6 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 errno v0.3.5
[INFO] [stderr]   Downloaded xml2json-rs v1.0.1
[INFO] [stderr]   Downloaded windows-core v0.51.1
[INFO] [stderr]   Downloaded semver v1.0.20
[INFO] [stderr]   Downloaded br-file v0.0.1
[INFO] [stderr]   Downloaded br-http v0.0.7
[INFO] [stderr]   Downloaded iana-time-zone v0.1.58
[INFO] [stderr]   Downloaded libdeflater v0.11.0
[INFO] [stderr]   Downloaded sha256-rs v1.0.1
[INFO] [stderr]   Downloaded textcode v0.2.2
[INFO] [stderr]   Downloaded filetime v0.2.22
[INFO] [stderr]   Downloaded libdeflate-sys v0.11.0
[INFO] [stderr]   Downloaded rgb v0.8.36
[INFO] [stderr]   Downloaded stderrlog v0.5.4
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.10
[INFO] [stderr]   Downloaded zopfli v0.7.4
[INFO] [stderr]   Downloaded oxipng v8.0.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.95
[INFO] [stderr]   Downloaded hashbrown v0.14.2
[INFO] [stderr]   Downloaded indexmap v2.0.2
[INFO] [stderr]   Downloaded uuid v1.5.0
[INFO] [stderr]   Downloaded br-crypto v0.1.14
[INFO] [stderr]   Downloaded fdeflate v0.3.0
[INFO] [stderr]   Downloaded wild v2.2.0
[INFO] [stderr]   Downloaded chrono v0.4.31
[INFO] [stderr]   Downloaded rustix v0.38.19
[INFO] [stderr]   Downloaded curl-sys v0.4.68+curl-8.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f53f5e390c36bb80c1f283d68448ef2d4b1505b6f6223d0b5fbb6e881aabf454
[INFO] running `Command { std: "docker" "start" "-a" "f53f5e390c36bb80c1f283d68448ef2d4b1505b6f6223d0b5fbb6e881aabf454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f53f5e390c36bb80c1f283d68448ef2d4b1505b6f6223d0b5fbb6e881aabf454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f53f5e390c36bb80c1f283d68448ef2d4b1505b6f6223d0b5fbb6e881aabf454", kill_on_drop: false }`
[INFO] [stdout] f53f5e390c36bb80c1f283d68448ef2d4b1505b6f6223d0b5fbb6e881aabf454
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 74a4932479c8b0bbbb2d05573365e8db17c7d2d52e094372ce78e486b81bd913
[INFO] running `Command { std: "docker" "start" "-a" "74a4932479c8b0bbbb2d05573365e8db17c7d2d52e094372ce78e486b81bd913", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling rayon-core v1.12.0
[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 indexmap v1.9.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling zopfli v0.7.4
[INFO] [stderr]    Compiling openssl-sys v0.9.95
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libdeflate-sys v0.11.0
[INFO] [stderr]    Compiling curl-sys v0.4.68+curl-8.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling stderrlog v0.5.4
[INFO] [stderr]    Compiling filetime v0.2.22
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling libdeflater v0.11.0
[INFO] [stderr]    Compiling rgb v0.8.36
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling wild v2.2.0
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling uuid v1.5.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling oxipng v8.0.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling quick-xml v0.23.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling sha256-rs v1.0.1
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling textcode v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling xml2json-rs v1.0.1
[INFO] [stderr]    Compiling br-crypto v0.1.14
[INFO] [stderr]    Compiling br-file v0.0.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.58
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling br-http v0.0.7
[INFO] [stderr]    Compiling br-ocr v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.09s
[INFO] running `Command { std: "docker" "inspect" "74a4932479c8b0bbbb2d05573365e8db17c7d2d52e094372ce78e486b81bd913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74a4932479c8b0bbbb2d05573365e8db17c7d2d52e094372ce78e486b81bd913", kill_on_drop: false }`
[INFO] [stdout] 74a4932479c8b0bbbb2d05573365e8db17c7d2d52e094372ce78e486b81bd913
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 91c8d61c796d27a652ed67d8b84fac5388d5884086fd5983c0e040403ca147de
[INFO] running `Command { std: "docker" "start" "-a" "91c8d61c796d27a652ed67d8b84fac5388d5884086fd5983c0e040403ca147de", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.19
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling br-ocr v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.43s
[INFO] running `Command { std: "docker" "inspect" "91c8d61c796d27a652ed67d8b84fac5388d5884086fd5983c0e040403ca147de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91c8d61c796d27a652ed67d8b84fac5388d5884086fd5983c0e040403ca147de", kill_on_drop: false }`
[INFO] [stdout] 91c8d61c796d27a652ed67d8b84fac5388d5884086fd5983c0e040403ca147de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4bcd5e81163462444923d13f04947089e3330ee9dd5cc248ba39cf3715a11229
[INFO] running `Command { std: "docker" "start" "-a" "4bcd5e81163462444923d13f04947089e3330ee9dd5cc248ba39cf3715a11229", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `object`
[INFO] [stderr]  --> src/mode/mod.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use json::{JsonValue, object};
[INFO] [stderr]   |                       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `appid` and `secret` are never read
[INFO] [stderr]  --> src/mode/aliyun.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Aliyun {
[INFO] [stderr]   |            ------ fields in this struct
[INFO] [stderr] 8 |     pub appid: String,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 9 |     pub secret: String,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Aliyun` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/mode/baidu.rs:72:60
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let image = urlencoding_encode(file_base64.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/mode/baidu.rs:76:55
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let mut http = br_http::Http::url(url.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/mode/baidu.rs:99:55
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let mut http = br_http::Http::url(url.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: `br-ocr` (lib) generated 5 warnings (run `cargo fix --lib -p br-ocr` to apply 4 suggestions)
[INFO] [stderr] warning: `br-ocr` (lib test) generated 5 warnings (5 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/br_ocr-6b7adb80a6376313)
[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_ocr
[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" "4bcd5e81163462444923d13f04947089e3330ee9dd5cc248ba39cf3715a11229", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bcd5e81163462444923d13f04947089e3330ee9dd5cc248ba39cf3715a11229", kill_on_drop: false }`
[INFO] [stdout] 4bcd5e81163462444923d13f04947089e3330ee9dd5cc248ba39cf3715a11229
[INFO] testing br-ocr-0.0.6 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate br-ocr 0.0.6 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate br-ocr 0.0.6 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate br-ocr 0.0.6
[INFO] finished tweaking crates.io crate br-ocr 0.0.6
[INFO] tweaked toml for crates.io crate br-ocr 0.0.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate crates.io crate br-ocr 0.0.6 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3654abe4023f55271efe2c18028787ad68ea2f4a70fe0a1812f2a633e756d6e2
[INFO] running `Command { std: "docker" "start" "-a" "3654abe4023f55271efe2c18028787ad68ea2f4a70fe0a1812f2a633e756d6e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3654abe4023f55271efe2c18028787ad68ea2f4a70fe0a1812f2a633e756d6e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3654abe4023f55271efe2c18028787ad68ea2f4a70fe0a1812f2a633e756d6e2", kill_on_drop: false }`
[INFO] [stdout] 3654abe4023f55271efe2c18028787ad68ea2f4a70fe0a1812f2a633e756d6e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d35aa1e00e901b0406bea83587d752a126f40fea3dd79de8484a31f4153a7779
[INFO] running `Command { std: "docker" "start" "-a" "d35aa1e00e901b0406bea83587d752a126f40fea3dd79de8484a31f4153a7779", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling rayon-core v1.12.0
[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 indexmap v1.9.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling serde v1.0.189
[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 png v0.17.10
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling zopfli v0.7.4
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling openssl-sys v0.9.95
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libdeflate-sys v0.11.0
[INFO] [stderr]    Compiling curl-sys v0.4.68+curl-8.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling stderrlog v0.5.4
[INFO] [stderr]    Compiling rgb v0.8.36
[INFO] [stderr]    Compiling filetime v0.2.22
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling libdeflater v0.11.0
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling wild v2.2.0
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling uuid v1.5.0
[INFO] [stderr]    Compiling oxipng v8.0.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling quick-xml v0.23.1
[INFO] [stderr]    Compiling textcode v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling sha256-rs v1.0.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling xml2json-rs v1.0.1
[INFO] [stderr]    Compiling br-crypto v0.1.14
[INFO] [stderr]    Compiling br-file v0.0.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.58
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling br-http v0.0.7
[INFO] [stderr]    Compiling br-ocr v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.03s
[INFO] running `Command { std: "docker" "inspect" "d35aa1e00e901b0406bea83587d752a126f40fea3dd79de8484a31f4153a7779", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d35aa1e00e901b0406bea83587d752a126f40fea3dd79de8484a31f4153a7779", kill_on_drop: false }`
[INFO] [stdout] d35aa1e00e901b0406bea83587d752a126f40fea3dd79de8484a31f4153a7779
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb364e73d5fb1f5eb0f0cd56a3f5f909215bc973d8c7e9a68f2507f0183303c1
[INFO] running `Command { std: "docker" "start" "-a" "bb364e73d5fb1f5eb0f0cd56a3f5f909215bc973d8c7e9a68f2507f0183303c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.19
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling br-ocr v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `object`
[INFO] [stdout]  --> src/mode/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json::{JsonValue, object};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `appid` and `secret` are never read
[INFO] [stdout]  --> src/mode/aliyun.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Aliyun {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     pub appid: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Aliyun` 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/baidu.rs:72:60
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let image = urlencoding_encode(file_base64.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/baidu.rs:76:55
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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/baidu.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |         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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.41s
[INFO] running `Command { std: "docker" "inspect" "bb364e73d5fb1f5eb0f0cd56a3f5f909215bc973d8c7e9a68f2507f0183303c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb364e73d5fb1f5eb0f0cd56a3f5f909215bc973d8c7e9a68f2507f0183303c1", kill_on_drop: false }`
[INFO] [stdout] bb364e73d5fb1f5eb0f0cd56a3f5f909215bc973d8c7e9a68f2507f0183303c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e71a3cbfe69ab8724d961a77dba4ceb205aa2f748a61095eda0aff33d56789e7
[INFO] running `Command { std: "docker" "start" "-a" "e71a3cbfe69ab8724d961a77dba4ceb205aa2f748a61095eda0aff33d56789e7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `object`
[INFO] [stderr]  --> src/mode/mod.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use json::{JsonValue, object};
[INFO] [stderr]   |                       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `appid` and `secret` are never read
[INFO] [stderr]  --> src/mode/aliyun.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Aliyun {
[INFO] [stderr]   |            ------ fields in this struct
[INFO] [stderr] 8 |     pub appid: String,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 9 |     pub secret: String,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Aliyun` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/mode/baidu.rs:72:60
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let image = urlencoding_encode(file_base64.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/mode/baidu.rs:76:55
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let mut http = br_http::Http::url(url.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/mode/baidu.rs:99:55
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let mut http = br_http::Http::url(url.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: `br-ocr` (lib) generated 5 warnings (run `cargo fix --lib -p br-ocr` to apply 4 suggestions)
[INFO] [stderr] warning: `br-ocr` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/br_ocr-6b7adb80a6376313)
[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_ocr
[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" "e71a3cbfe69ab8724d961a77dba4ceb205aa2f748a61095eda0aff33d56789e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e71a3cbfe69ab8724d961a77dba4ceb205aa2f748a61095eda0aff33d56789e7", kill_on_drop: false }`
[INFO] [stdout] e71a3cbfe69ab8724d961a77dba4ceb205aa2f748a61095eda0aff33d56789e7
