[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [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 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 kqueue v1.1.1 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2946b5b463ca51b47f241277f78c10da692b426c38029c72ea42ea1479323e40 [INFO] running `Command { std: "docker" "start" "-a" "2946b5b463ca51b47f241277f78c10da692b426c38029c72ea42ea1479323e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2946b5b463ca51b47f241277f78c10da692b426c38029c72ea42ea1479323e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2946b5b463ca51b47f241277f78c10da692b426c38029c72ea42ea1479323e40", kill_on_drop: false }` [INFO] [stdout] 2946b5b463ca51b47f241277f78c10da692b426c38029c72ea42ea1479323e40 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77d3dcd5f89576faeca38ab65e0a6ae79e0df1d6739fd1b893b9122509cc5fe8 [INFO] running `Command { std: "docker" "start" "-a" "77d3dcd5f89576faeca38ab65e0a6ae79e0df1d6739fd1b893b9122509cc5fe8", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.rustflags [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling config v0.14.1 [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 1m 01s [INFO] running `Command { std: "docker" "inspect" "77d3dcd5f89576faeca38ab65e0a6ae79e0df1d6739fd1b893b9122509cc5fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d3dcd5f89576faeca38ab65e0a6ae79e0df1d6739fd1b893b9122509cc5fe8", kill_on_drop: false }` [INFO] [stdout] 77d3dcd5f89576faeca38ab65e0a6ae79e0df1d6739fd1b893b9122509cc5fe8 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7859d953a7417f796eccaaafd80fd7f042cb46b90bbfdba0e74033762697f4de [INFO] running `Command { std: "docker" "start" "-a" "7859d953a7417f796eccaaafd80fd7f042cb46b90bbfdba0e74033762697f4de", 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 getrandom v0.3.3 [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 h2 v0.3.26 [INFO] [stderr] Compiling tokio-test v0.4.4 [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 26.20s [INFO] running `Command { std: "docker" "inspect" "7859d953a7417f796eccaaafd80fd7f042cb46b90bbfdba0e74033762697f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7859d953a7417f796eccaaafd80fd7f042cb46b90bbfdba0e74033762697f4de", kill_on_drop: false }` [INFO] [stdout] 7859d953a7417f796eccaaafd80fd7f042cb46b90bbfdba0e74033762697f4de