[INFO] cloning repository https://github.com/iamshijun/baidu_yunpan_cli_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamshijun/baidu_yunpan_cli_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fbaidu_yunpan_cli_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fbaidu_yunpan_cli_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c3c69a28588c085e79bc2c30906f9ad698649ff [INFO] building iamshijun/baidu_yunpan_cli_rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fbaidu_yunpan_cli_rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iamshijun/baidu_yunpan_cli_rs [INFO] finished tweaking git repo https://github.com/iamshijun/baidu_yunpan_cli_rs [INFO] tweaked toml for git repo https://github.com/iamshijun/baidu_yunpan_cli_rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamshijun/baidu_yunpan_cli_rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iamshijun/baidu_yunpan_cli_rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab2ef309558aca2c1c8c8665ef0ac175a9fb209f5ab8f99eef6b81816c07841f [INFO] running `Command { std: "docker" "start" "-a" "ab2ef309558aca2c1c8c8665ef0ac175a9fb209f5ab8f99eef6b81816c07841f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2ef309558aca2c1c8c8665ef0ac175a9fb209f5ab8f99eef6b81816c07841f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2ef309558aca2c1c8c8665ef0ac175a9fb209f5ab8f99eef6b81816c07841f", kill_on_drop: false }` [INFO] [stdout] ab2ef309558aca2c1c8c8665ef0ac175a9fb209f5ab8f99eef6b81816c07841f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0fdb8d69ee94fce9815dc1e251b7d089fb8f519a7638d9a5ac4f96e54e7b350 [INFO] running `Command { std: "docker" "start" "-a" "f0fdb8d69ee94fce9815dc1e251b7d089fb8f519a7638d9a5ac4f96e54e7b350", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling jiff v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling baidu_yunpan_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `split` is never used [INFO] [stdout] --> src/yunpan_service.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl UploadFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn split(&self,chunk_size: u64) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SliceFile` is never constructed [INFO] [stdout] --> src/yunpan_service.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | struct SliceFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upload_slice` is never used [INFO] [stdout] --> src/yunpan_service.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 251 | impl YunPanService { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | async fn upload_slice( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result>, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `md5_sum` is never used [INFO] [stdout] --> src/utils.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn md5_sum(file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_file` is never used [INFO] [stdout] --> src/utils.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn split_file( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/yunpan_service.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn split2(&self,slice_size: u64) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn split2(&self,slice_size: u64) -> Result>, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.38s [INFO] running `Command { std: "docker" "inspect" "f0fdb8d69ee94fce9815dc1e251b7d089fb8f519a7638d9a5ac4f96e54e7b350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0fdb8d69ee94fce9815dc1e251b7d089fb8f519a7638d9a5ac4f96e54e7b350", kill_on_drop: false }` [INFO] [stdout] f0fdb8d69ee94fce9815dc1e251b7d089fb8f519a7638d9a5ac4f96e54e7b350 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 107c7cb6b6b5f384563fff28e9fd407bf6875eb10d3c4670b7ae49da0f55e696 [INFO] running `Command { std: "docker" "start" "-a" "107c7cb6b6b5f384563fff28e9fd407bf6875eb10d3c4670b7ae49da0f55e696", kill_on_drop: false }` [INFO] [stderr] Compiling baidu_yunpan_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `split` is never used [INFO] [stdout] --> src/yunpan_service.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl UploadFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn split(&self,chunk_size: u64) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SliceFile` is never constructed [INFO] [stdout] --> src/yunpan_service.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | struct SliceFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upload_slice` is never used [INFO] [stdout] --> src/yunpan_service.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 251 | impl YunPanService { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | async fn upload_slice( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `md5_sum` is never used [INFO] [stdout] --> src/utils.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn md5_sum(file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_file` is never used [INFO] [stdout] --> src/utils.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn split_file( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/yunpan_service.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn split2(&self,slice_size: u64) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn split2(&self,slice_size: u64) -> Result>, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result>, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "107c7cb6b6b5f384563fff28e9fd407bf6875eb10d3c4670b7ae49da0f55e696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107c7cb6b6b5f384563fff28e9fd407bf6875eb10d3c4670b7ae49da0f55e696", kill_on_drop: false }` [INFO] [stdout] 107c7cb6b6b5f384563fff28e9fd407bf6875eb10d3c4670b7ae49da0f55e696