[INFO] cloning repository https://github.com/wshon/aliyun-drive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshon/aliyun-drive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshon%2Faliyun-drive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshon%2Faliyun-drive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99604079dc6f9fcf5f8fba3e06e2585cdb25ed07 [INFO] testing wshon/aliyun-drive against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshon%2Faliyun-drive" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wshon/aliyun-drive [INFO] finished tweaking git repo https://github.com/wshon/aliyun-drive [INFO] tweaked toml for git repo https://github.com/wshon/aliyun-drive written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wshon/aliyun-drive 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/wshon/aliyun-drive 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] Updating git repository `https://github.com/sj6219/webdav-handler-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded tracing-attributes v0.1.16 [INFO] [stderr] Downloaded h2 v0.3.4 [INFO] [stderr] Downloaded async-compression v0.3.8 [INFO] [stderr] Downloaded moka-cht v0.4.2 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded reqwest v0.11.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded moka v0.6.1 [INFO] [stderr] Downloaded time v0.3.3 [INFO] [stderr] Downloaded handlebars v3.5.5 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded openssl v0.10.36 [INFO] [stderr] Downloaded tracing-subscriber v0.2.24 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded sharded-slab v0.1.3 [INFO] [stderr] Downloaded tracing v0.1.28 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded raw-cpuid v10.2.0 [INFO] [stderr] Downloaded quanta v0.9.3 [INFO] [stderr] Downloaded openssl-sys v0.9.67 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded tracing-core v0.1.20 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c3561d92aab44135a6088ceeeb4c3716d87daf0866235e318d3b2f2f0d72105a [INFO] running `Command { std: "docker" "start" "-a" "c3561d92aab44135a6088ceeeb4c3716d87daf0866235e318d3b2f2f0d72105a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3561d92aab44135a6088ceeeb4c3716d87daf0866235e318d3b2f2f0d72105a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3561d92aab44135a6088ceeeb4c3716d87daf0866235e318d3b2f2f0d72105a", kill_on_drop: false }` [INFO] [stdout] c3561d92aab44135a6088ceeeb4c3716d87daf0866235e318d3b2f2f0d72105a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ffb12610f26b054cb00022e12a1f6790d6b0a481e592d1ba725de5282808e8d6 [INFO] running `Command { std: "docker" "start" "-a" "ffb12610f26b054cb00022e12a1f6790d6b0a481e592d1ba725de5282808e8d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling raw-cpuid v10.2.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling moka v0.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling moka-cht v0.4.2 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling time v0.3.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.24 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling webdav-handler v0.2.0 (https://github.com/sj6219/webdav-handler-rs?branch=win#95e6f0e1) [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling aliyun-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `native-tls-vendored` [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "native-tls-vendored")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `openssl-probe` [INFO] [stdout] = help: consider adding `native-tls-vendored` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `user_id` are never read [INFO] [stdout] --> src/aliyundrive.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 485 | struct RefreshTokenResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 489 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 490 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetFileRequest` is never constructed [INFO] [stdout] --> src/aliyundrive.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | struct GetFileRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `expiration` are never read [INFO] [stdout] --> src/aliyundrive.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 533 | struct GetFileDownloadUrlResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 534 | url: String, [INFO] [stdout] 535 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 536 | expiration: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetFileDownloadUrlResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/aliyundrive.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 593 | pub struct CreateFileWithProofResponse { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 598 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFileWithProofResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetUploadUrlRequest` is never constructed [INFO] [stdout] --> src/aliyundrive.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | struct GetUploadUrlRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrive.rs:689:17 [INFO] [stdout] | [INFO] [stdout] 689 | fn metadata(&self) -> FsFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 689 | fn metadata(&self) -> FsFuture<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 169 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 170 | dav_path: &'a DavPath, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 171 | options: OpenOptions, [INFO] [stdout] 172 | ) -> FsFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 172 | ) -> FsFuture<'a, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 217 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 218 | path: &'a DavPath, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 219 | _meta: ReadDirMeta, [INFO] [stdout] 220 | ) -> FsFuture>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 220 | ) -> FsFuture<'a, FsStream>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:235:53 [INFO] [stdout] | [INFO] [stdout] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture<'a, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:245:59 [INFO] [stdout] | [INFO] [stdout] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:293:60 [INFO] [stdout] | [INFO] [stdout] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:315:68 [INFO] [stdout] | [INFO] [stdout] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:502:19 [INFO] [stdout] | [INFO] [stdout] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture<'_, Bytes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:544:14 [INFO] [stdout] | [INFO] [stdout] 544 | fn flush(&mut self) -> FsFuture<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 544 | fn flush(&mut self) -> FsFuture<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "ffb12610f26b054cb00022e12a1f6790d6b0a481e592d1ba725de5282808e8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb12610f26b054cb00022e12a1f6790d6b0a481e592d1ba725de5282808e8d6", kill_on_drop: false }` [INFO] [stdout] ffb12610f26b054cb00022e12a1f6790d6b0a481e592d1ba725de5282808e8d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a507250063ada7bb21c2d78351b6c462c8639b8b93268c6846eb191c3da05352 [INFO] running `Command { std: "docker" "start" "-a" "a507250063ada7bb21c2d78351b6c462c8639b8b93268c6846eb191c3da05352", kill_on_drop: false }` [INFO] [stderr] Compiling aliyun-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `native-tls-vendored` [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "native-tls-vendored")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `openssl-probe` [INFO] [stdout] = help: consider adding `native-tls-vendored` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `user_id` are never read [INFO] [stdout] --> src/aliyundrive.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 485 | struct RefreshTokenResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 489 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 490 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetFileRequest` is never constructed [INFO] [stdout] --> src/aliyundrive.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | struct GetFileRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `expiration` are never read [INFO] [stdout] --> src/aliyundrive.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 533 | struct GetFileDownloadUrlResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 534 | url: String, [INFO] [stdout] 535 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 536 | expiration: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetFileDownloadUrlResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/aliyundrive.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 593 | pub struct CreateFileWithProofResponse { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 598 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFileWithProofResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetUploadUrlRequest` is never constructed [INFO] [stdout] --> src/aliyundrive.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | struct GetUploadUrlRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrive.rs:689:17 [INFO] [stdout] | [INFO] [stdout] 689 | fn metadata(&self) -> FsFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 689 | fn metadata(&self) -> FsFuture<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 169 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 170 | dav_path: &'a DavPath, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 171 | options: OpenOptions, [INFO] [stdout] 172 | ) -> FsFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 172 | ) -> FsFuture<'a, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 217 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 218 | path: &'a DavPath, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 219 | _meta: ReadDirMeta, [INFO] [stdout] 220 | ) -> FsFuture>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 220 | ) -> FsFuture<'a, FsStream>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:235:53 [INFO] [stdout] | [INFO] [stdout] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture<'a, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:245:59 [INFO] [stdout] | [INFO] [stdout] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:293:60 [INFO] [stdout] | [INFO] [stdout] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:315:68 [INFO] [stdout] | [INFO] [stdout] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<()> { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:502:19 [INFO] [stdout] | [INFO] [stdout] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture<'_, Bytes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aliyundrivefs.rs:544:14 [INFO] [stdout] | [INFO] [stdout] 544 | fn flush(&mut self) -> FsFuture<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 544 | fn flush(&mut self) -> FsFuture<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "a507250063ada7bb21c2d78351b6c462c8639b8b93268c6846eb191c3da05352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a507250063ada7bb21c2d78351b6c462c8639b8b93268c6846eb191c3da05352", kill_on_drop: false }` [INFO] [stdout] a507250063ada7bb21c2d78351b6c462c8639b8b93268c6846eb191c3da05352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 10098562ede7e3b0f0619f97666ea9d1db59c6ecd93f5378e6a87daf3eb286b0 [INFO] running `Command { std: "docker" "start" "-a" "10098562ede7e3b0f0619f97666ea9d1db59c6ecd93f5378e6a87daf3eb286b0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `native-tls-vendored` [INFO] [stderr] --> src/main.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | #[cfg(feature = "native-tls-vendored")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `openssl-probe` [INFO] [stderr] = help: consider adding `native-tls-vendored` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `token_type` and `user_id` are never read [INFO] [stderr] --> src/aliyundrive.rs:489:5 [INFO] [stderr] | [INFO] [stderr] 485 | struct RefreshTokenResponse { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 489 | token_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 490 | user_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RefreshTokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `GetFileRequest` is never constructed [INFO] [stderr] --> src/aliyundrive.rs:517:8 [INFO] [stderr] | [INFO] [stderr] 517 | struct GetFileRequest<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `expiration` are never read [INFO] [stderr] --> src/aliyundrive.rs:535:5 [INFO] [stderr] | [INFO] [stderr] 533 | struct GetFileDownloadUrlResponse { [INFO] [stderr] | -------------------------- fields in this struct [INFO] [stderr] 534 | url: String, [INFO] [stderr] 535 | size: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 536 | expiration: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetFileDownloadUrlResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `file_name` is never read [INFO] [stderr] --> src/aliyundrive.rs:598:9 [INFO] [stderr] | [INFO] [stderr] 593 | pub struct CreateFileWithProofResponse { [INFO] [stderr] | --------------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 598 | pub file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateFileWithProofResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `GetUploadUrlRequest` is never constructed [INFO] [stderr] --> src/aliyundrive.rs:609:8 [INFO] [stderr] | [INFO] [stderr] 609 | struct GetUploadUrlRequest<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aliyundrive.rs:689:17 [INFO] [stderr] | [INFO] [stderr] 689 | fn metadata(&self) -> FsFuture> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 689 | fn metadata(&self) -> FsFuture<'_, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:172:10 [INFO] [stderr] | [INFO] [stderr] 169 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 170 | dav_path: &'a DavPath, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 171 | options: OpenOptions, [INFO] [stderr] 172 | ) -> FsFuture> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 172 | ) -> FsFuture<'a, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:220:10 [INFO] [stderr] | [INFO] [stderr] 217 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 218 | path: &'a DavPath, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 219 | _meta: ReadDirMeta, [INFO] [stderr] 220 | ) -> FsFuture>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 220 | ) -> FsFuture<'a, FsStream>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:235:53 [INFO] [stderr] | [INFO] [stderr] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 235 | fn metadata<'a>(&'a self, path: &'a DavPath) -> FsFuture<'a, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:245:59 [INFO] [stderr] | [INFO] [stderr] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 245 | fn create_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:271:59 [INFO] [stderr] | [INFO] [stderr] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 271 | fn remove_dir<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:293:60 [INFO] [stderr] | [INFO] [stderr] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<()> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 293 | fn remove_file<'a>(&'a self, dav_path: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:315:68 [INFO] [stderr] | [INFO] [stderr] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<()> { [INFO] [stderr] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 315 | fn rename<'a>(&'a self, from: &'a DavPath, to: &'a DavPath) -> FsFuture<'a, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:491:20 [INFO] [stderr] | [INFO] [stderr] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<()> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 491 | fn write_bytes(&mut self, buf: Bytes) -> FsFuture<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:502:19 [INFO] [stderr] | [INFO] [stderr] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 502 | fn read_bytes(&mut self, count: usize) -> FsFuture<'_, Bytes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:525:13 [INFO] [stderr] | [INFO] [stderr] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 525 | fn seek(&mut self, pos: SeekFrom) -> FsFuture<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aliyundrivefs.rs:544:14 [INFO] [stderr] | [INFO] [stderr] 544 | fn flush(&mut self) -> FsFuture<()> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 544 | fn flush(&mut self) -> FsFuture<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `aliyun-driver` (bin "aliyun-driver" test) generated 18 warnings (run `cargo fix --bin "aliyun-driver" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aliyun_driver-1001c61e8cb5c764) [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" "10098562ede7e3b0f0619f97666ea9d1db59c6ecd93f5378e6a87daf3eb286b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10098562ede7e3b0f0619f97666ea9d1db59c6ecd93f5378e6a87daf3eb286b0", kill_on_drop: false }` [INFO] [stdout] 10098562ede7e3b0f0619f97666ea9d1db59c6ecd93f5378e6a87daf3eb286b0