[INFO] cloning repository https://github.com/sj4nes/boxdrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sj4nes/boxdrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fboxdrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fboxdrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c861b58528560bc63d8d479211656ee0a687045f [INFO] building sj4nes/boxdrop against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fboxdrop" "/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/sj4nes/boxdrop [INFO] finished tweaking git repo https://github.com/sj4nes/boxdrop [INFO] tweaked toml for git repo https://github.com/sj4nes/boxdrop written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sj4nes/boxdrop on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sj4nes/boxdrop 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.rustflags [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded kqueue v1.1.1 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded tokio v1.46.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 339cb4ad30a4bdafe04efd39d2fed8449d9c9b0f059ef7814805b7af1546a364 [INFO] running `Command { std: "docker" "start" "-a" "339cb4ad30a4bdafe04efd39d2fed8449d9c9b0f059ef7814805b7af1546a364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "339cb4ad30a4bdafe04efd39d2fed8449d9c9b0f059ef7814805b7af1546a364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339cb4ad30a4bdafe04efd39d2fed8449d9c9b0f059ef7814805b7af1546a364", kill_on_drop: false }` [INFO] [stdout] 339cb4ad30a4bdafe04efd39d2fed8449d9c9b0f059ef7814805b7af1546a364 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 123c650d9dc40e0ce820864b5920c434a84c8bf091904c364f02cd6ebe51622f [INFO] running `Command { std: "docker" "start" "-a" "123c650d9dc40e0ce820864b5920c434a84c8bf091904c364f02cd6ebe51622f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.rustflags [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling boxdrop-sync-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `access_token` is never read [INFO] [stdout] --> src/dropbox/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DropboxClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | pub(crate) client: Client, [INFO] [stdout] 10 | access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/dropbox/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct DropboxError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | error_summary: String, [INFO] [stdout] 18 | error: DropboxErrorDetail, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag` and `reason` are never read [INFO] [stdout] --> src/dropbox/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DropboxErrorDetail { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 23 | #[serde(rename = ".tag")] [INFO] [stdout] 24 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/dropbox/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct DropboxErrorReason { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | #[serde(rename = ".tag")] [INFO] [stdout] 31 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `config` are never read [INFO] [stdout] --> src/sync/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SyncEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | client: DropboxClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | config: ConfigManager, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] 12 + fn download_file(&self, path: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] 15 + fn upload_file(&self, path: &str, content: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.06s [INFO] running `Command { std: "docker" "inspect" "123c650d9dc40e0ce820864b5920c434a84c8bf091904c364f02cd6ebe51622f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123c650d9dc40e0ce820864b5920c434a84c8bf091904c364f02cd6ebe51622f", kill_on_drop: false }` [INFO] [stdout] 123c650d9dc40e0ce820864b5920c434a84c8bf091904c364f02cd6ebe51622f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5995b824f565b5ba8037bcb01ad83760e4dd11d2483301d8f6701bbaa2377a7 [INFO] running `Command { std: "docker" "start" "-a" "f5995b824f565b5ba8037bcb01ad83760e4dd11d2483301d8f6701bbaa2377a7", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.rustflags [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling boxdrop-sync-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `access_token` is never read [INFO] [stdout] --> src/dropbox/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DropboxClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | pub(crate) client: Client, [INFO] [stdout] 10 | access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/dropbox/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct DropboxError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | error_summary: String, [INFO] [stdout] 18 | error: DropboxErrorDetail, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag` and `reason` are never read [INFO] [stdout] --> src/dropbox/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DropboxErrorDetail { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 23 | #[serde(rename = ".tag")] [INFO] [stdout] 24 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/dropbox/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct DropboxErrorReason { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | #[serde(rename = ".tag")] [INFO] [stdout] 31 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `config` are never read [INFO] [stdout] --> src/sync/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SyncEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | client: DropboxClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | config: ConfigManager, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] 12 + fn download_file(&self, path: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] 15 + fn upload_file(&self, path: &str, content: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/dropbox/operations.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/dropbox/operations.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/dropbox/operations.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/config/manager.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/dropbox/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct DropboxError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | error_summary: String, [INFO] [stdout] 18 | error: DropboxErrorDetail, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxError` has a derived impl for the trait `Debug`, but this is 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: fields `tag` and `reason` are never read [INFO] [stdout] --> src/dropbox/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DropboxErrorDetail { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 23 | #[serde(rename = ".tag")] [INFO] [stdout] 24 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/dropbox/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct DropboxErrorReason { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | #[serde(rename = ".tag")] [INFO] [stdout] 31 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropboxErrorReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `config` are never read [INFO] [stdout] --> src/sync/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SyncEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | client: DropboxClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | config: ConfigManager, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn download_file(&self, path: &str) -> Result>; [INFO] [stdout] 12 + fn download_file(&self, path: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/dropbox/operations.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn upload_file(&self, path: &str, content: &[u8]) -> Result<()>; [INFO] [stdout] 15 + fn upload_file(&self, path: &str, content: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/dropbox/operations.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | format!("{:?}", no_conflict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = format!("{:?}", no_conflict); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/dropbox/operations.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | format!("{:?}", conflict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = format!("{:?}", conflict); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/dropbox/operations.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | format!("{:?}", error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 294 | let _ = format!("{:?}", error); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.79s [INFO] running `Command { std: "docker" "inspect" "f5995b824f565b5ba8037bcb01ad83760e4dd11d2483301d8f6701bbaa2377a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5995b824f565b5ba8037bcb01ad83760e4dd11d2483301d8f6701bbaa2377a7", kill_on_drop: false }` [INFO] [stdout] f5995b824f565b5ba8037bcb01ad83760e4dd11d2483301d8f6701bbaa2377a7