[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] testing iamshijun/baidu_yunpan_cli_rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fbaidu_yunpan_cli_rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamshijun/baidu_yunpan_cli_rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.107 [INFO] [stderr] Downloaded jiff-static v0.2.6 [INFO] [stderr] Downloaded cc v1.2.19 [INFO] [stderr] Downloaded jiff v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3125ddf73ad4f34fc9575a9a10ff2798b84d96d6248753c3d6f676f9f01f6716 [INFO] running `Command { std: "docker" "start" "-a" "3125ddf73ad4f34fc9575a9a10ff2798b84d96d6248753c3d6f676f9f01f6716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3125ddf73ad4f34fc9575a9a10ff2798b84d96d6248753c3d6f676f9f01f6716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3125ddf73ad4f34fc9575a9a10ff2798b84d96d6248753c3d6f676f9f01f6716", kill_on_drop: false }` [INFO] [stdout] 3125ddf73ad4f34fc9575a9a10ff2798b84d96d6248753c3d6f676f9f01f6716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0243c439dd55e8f37d8f854b90b525c257a1e09131b61210cca1840ffec9375b [INFO] running `Command { std: "docker" "start" "-a" "0243c439dd55e8f37d8f854b90b525c257a1e09131b61210cca1840ffec9375b", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling jiff v0.2.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.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 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 icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [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 v0.14.32 [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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 33.03s [INFO] running `Command { std: "docker" "inspect" "0243c439dd55e8f37d8f854b90b525c257a1e09131b61210cca1840ffec9375b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0243c439dd55e8f37d8f854b90b525c257a1e09131b61210cca1840ffec9375b", kill_on_drop: false }` [INFO] [stdout] 0243c439dd55e8f37d8f854b90b525c257a1e09131b61210cca1840ffec9375b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b63ce58306149360ca35d641ead7f15455c6226a764dc033b8cbe2e1b86b3aa9 [INFO] running `Command { std: "docker" "start" "-a" "b63ce58306149360ca35d641ead7f15455c6226a764dc033b8cbe2e1b86b3aa9", 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.85s [INFO] running `Command { std: "docker" "inspect" "b63ce58306149360ca35d641ead7f15455c6226a764dc033b8cbe2e1b86b3aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63ce58306149360ca35d641ead7f15455c6226a764dc033b8cbe2e1b86b3aa9", kill_on_drop: false }` [INFO] [stdout] b63ce58306149360ca35d641ead7f15455c6226a764dc033b8cbe2e1b86b3aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b398e3e8eb68f50439408b40d955a8bdeae8bf10b48cf3a7c4f549324c0f5611 [INFO] running `Command { std: "docker" "start" "-a" "b398e3e8eb68f50439408b40d955a8bdeae8bf10b48cf3a7c4f549324c0f5611", kill_on_drop: false }` [INFO] [stderr] warning: method `split` is never used [INFO] [stderr] --> src/yunpan_service.rs:107:18 [INFO] [stderr] | [INFO] [stderr] 62 | impl UploadFile { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub async fn split(&self,chunk_size: u64) -> Result, std::io::Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SliceFile` is never constructed [INFO] [stderr] --> src/yunpan_service.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | struct SliceFile { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `upload_slice` is never used [INFO] [stderr] --> src/yunpan_service.rs:297:14 [INFO] [stderr] | [INFO] [stderr] 251 | impl YunPanService { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 297 | async fn upload_slice( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `md5_sum` is never used [INFO] [stderr] --> src/utils.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn md5_sum(file_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `split_file` is never used [INFO] [stderr] --> src/utils.rs:131:14 [INFO] [stderr] | [INFO] [stderr] 131 | pub async fn split_file( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/yunpan_service.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | pub async fn split2(&self,slice_size: u64) -> Result, std::io::Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub async fn split2(&self,slice_size: u64) -> Result>, std::io::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils.rs:87:37 [INFO] [stderr] | [INFO] [stderr] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result, std::io::Error> { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 87 | pub async fn split_file2(file_path: &str,slice_size: u64,) -> Result>, std::io::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `baidu_yunpan_cli` (bin "baidu_yunpan_cli" test) generated 7 warnings (run `cargo fix --bin "baidu_yunpan_cli" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/baidu_yunpan_cli-3113c343e134501a) [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" "b398e3e8eb68f50439408b40d955a8bdeae8bf10b48cf3a7c4f549324c0f5611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b398e3e8eb68f50439408b40d955a8bdeae8bf10b48cf3a7c4f549324c0f5611", kill_on_drop: false }` [INFO] [stdout] b398e3e8eb68f50439408b40d955a8bdeae8bf10b48cf3a7c4f549324c0f5611