[INFO] fetching crate rust-dropbox 0.2.8... [INFO] testing rust-dropbox-0.2.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rust-dropbox 0.2.8 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rust-dropbox 0.2.8 [INFO] finished tweaking crates.io crate rust-dropbox 0.2.8 [INFO] tweaked toml for crates.io crate rust-dropbox 0.2.8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-dropbox 0.2.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b80cbaae27bf19d298333aaf726942a3a882818cd18f45dcf3eb1b88b63337 [INFO] running `Command { std: "docker" "start" "-a" "18b80cbaae27bf19d298333aaf726942a3a882818cd18f45dcf3eb1b88b63337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b80cbaae27bf19d298333aaf726942a3a882818cd18f45dcf3eb1b88b63337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b80cbaae27bf19d298333aaf726942a3a882818cd18f45dcf3eb1b88b63337", kill_on_drop: false }` [INFO] [stdout] 18b80cbaae27bf19d298333aaf726942a3a882818cd18f45dcf3eb1b88b63337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01aa57e085df3cac47f290e2e3c8a5f294f7606eb7b8a9a44e916859aaae5464 [INFO] running `Command { std: "docker" "start" "-a" "01aa57e085df3cac47f290e2e3c8a5f294f7606eb7b8a9a44e916859aaae5464", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling rust-dropbox v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct DbxRequestErrorSummary { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 12 | error_summary: String, [INFO] [stdout] 13 | error: DbxRequestErrorTag, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorSummary` 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: field `reason` is never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DbxRequestErrorReason { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 18 | reason: DbxRequestErrorTag, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorReason` 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/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DbxRequestErrorTag { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 23 | #[serde(alias = ".tag")] [INFO] [stdout] 24 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorTag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserCheckResult` is never constructed [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UserCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "01aa57e085df3cac47f290e2e3c8a5f294f7606eb7b8a9a44e916859aaae5464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01aa57e085df3cac47f290e2e3c8a5f294f7606eb7b8a9a44e916859aaae5464", kill_on_drop: false }` [INFO] [stdout] 01aa57e085df3cac47f290e2e3c8a5f294f7606eb7b8a9a44e916859aaae5464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3214c1416d4c8f707c88ca08e340e60b7c8f60b18425d102d19e309c3b1899a [INFO] running `Command { std: "docker" "start" "-a" "b3214c1416d4c8f707c88ca08e340e60b7c8f60b18425d102d19e309c3b1899a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct DbxRequestErrorSummary { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 12 | error_summary: String, [INFO] [stdout] 13 | error: DbxRequestErrorTag, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorSummary` 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: field `reason` is never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct DbxRequestErrorReason { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 18 | reason: DbxRequestErrorTag, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorReason` 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/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct DbxRequestErrorTag { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 23 | #[serde(alias = ".tag")] [INFO] [stdout] 24 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbxRequestErrorTag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserCheckResult` is never constructed [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UserCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rust-dropbox v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsyncDBXClient` in `client` [INFO] [stdout] --> src/test.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | let client = client::AsyncDBXClient::new(&token); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AsyncDBXClient` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "non-blocking")] [INFO] [stdout] | ------------------------ the item is gated behind the `non-blocking` feature [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] 19 | pub struct AsyncDBXClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsyncDBXClient` in `client` [INFO] [stdout] --> src/test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let client = client::AsyncDBXClient::new(&token); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AsyncDBXClient` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "non-blocking")] [INFO] [stdout] | ------------------------ the item is gated behind the `non-blocking` feature [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] 19 | pub struct AsyncDBXClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsyncDBXClient` in `client` [INFO] [stdout] --> src/test.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let client = client::AsyncDBXClient::new(&token); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AsyncDBXClient` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "non-blocking")] [INFO] [stdout] | ------------------------ the item is gated behind the `non-blocking` feature [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] 19 | pub struct AsyncDBXClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsyncDBXClient` in `client` [INFO] [stdout] --> src/test.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let client = client::AsyncDBXClient::new(&token); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AsyncDBXClient` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "non-blocking")] [INFO] [stdout] | ------------------------ the item is gated behind the `non-blocking` feature [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] 19 | pub struct AsyncDBXClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsyncDBXClient` in `client` [INFO] [stdout] --> src/test.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let client = client::AsyncDBXClient::new(&token); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AsyncDBXClient` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "non-blocking")] [INFO] [stdout] | ------------------------ the item is gated behind the `non-blocking` feature [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] 19 | pub struct AsyncDBXClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let res = client.check_user("ping").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | assert!(res.is_ok()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let res: /* Type */ = client.check_user("ping").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let res = client.upload(buf, "/test/profile.jpg", option).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | assert!(res.is_ok()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | let res: /* Type */ = client.upload(buf, "/test/profile.jpg", option).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | assert!(res.is_ok()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | assert!(res.is_ok()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let res = client.download("/profile.jpg").await; [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | let bytes = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let res: /* Type */ = client.download("/profile.jpg").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dropbox` (lib test) due to 10 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3214c1416d4c8f707c88ca08e340e60b7c8f60b18425d102d19e309c3b1899a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3214c1416d4c8f707c88ca08e340e60b7c8f60b18425d102d19e309c3b1899a", kill_on_drop: false }` [INFO] [stdout] b3214c1416d4c8f707c88ca08e340e60b7c8f60b18425d102d19e309c3b1899a