[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] checking iamshijun/baidu_yunpan_cli_rs against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamshijun%2Fbaidu_yunpan_cli_rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamshijun/baidu_yunpan_cli_rs on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jiff-static v0.2.6 [INFO] [stderr] Downloaded jiff v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 595f949d51a0d71ca78930ebf25289494a45b459524050bb25c5b689f2be615f [INFO] running `Command { std: "docker" "start" "-a" "595f949d51a0d71ca78930ebf25289494a45b459524050bb25c5b689f2be615f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595f949d51a0d71ca78930ebf25289494a45b459524050bb25c5b689f2be615f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595f949d51a0d71ca78930ebf25289494a45b459524050bb25c5b689f2be615f", kill_on_drop: false }` [INFO] [stdout] 595f949d51a0d71ca78930ebf25289494a45b459524050bb25c5b689f2be615f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c06e40a79ec3b8cdc5229456a6ad625fbf76dbef15405b1ba2726b4eedef0fdd [INFO] running `Command { std: "docker" "start" "-a" "c06e40a79ec3b8cdc5229456a6ad625fbf76dbef15405b1ba2726b4eedef0fdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking jiff v0.2.6 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking openssl-sys v0.9.107 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.1 [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] Checking openssl v0.10.72 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking 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] [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 32.68s [INFO] running `Command { std: "docker" "inspect" "c06e40a79ec3b8cdc5229456a6ad625fbf76dbef15405b1ba2726b4eedef0fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06e40a79ec3b8cdc5229456a6ad625fbf76dbef15405b1ba2726b4eedef0fdd", kill_on_drop: false }` [INFO] [stdout] c06e40a79ec3b8cdc5229456a6ad625fbf76dbef15405b1ba2726b4eedef0fdd