[INFO] fetching crate rust-dropbox 0.2.8... [INFO] building rust-dropbox-0.2.8 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rust-dropbox 0.2.8 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-dropbox 0.2.8 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.2) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dd9714b2dcb38807829c1a7f06e004757b85cd3d28ec3f7058470db6fbdc8ec [INFO] running `Command { std: "docker" "start" "-a" "7dd9714b2dcb38807829c1a7f06e004757b85cd3d28ec3f7058470db6fbdc8ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dd9714b2dcb38807829c1a7f06e004757b85cd3d28ec3f7058470db6fbdc8ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd9714b2dcb38807829c1a7f06e004757b85cd3d28ec3f7058470db6fbdc8ec", kill_on_drop: false }` [INFO] [stdout] 7dd9714b2dcb38807829c1a7f06e004757b85cd3d28ec3f7058470db6fbdc8ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15a6235c7acf1f0e847b7aa48c717e9af43af9be92091e98752017ff92cd95d [INFO] running `Command { std: "docker" "start" "-a" "a15a6235c7acf1f0e847b7aa48c717e9af43af9be92091e98752017ff92cd95d", kill_on_drop: false }` [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [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 10.58s [INFO] running `Command { std: "docker" "inspect" "a15a6235c7acf1f0e847b7aa48c717e9af43af9be92091e98752017ff92cd95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15a6235c7acf1f0e847b7aa48c717e9af43af9be92091e98752017ff92cd95d", kill_on_drop: false }` [INFO] [stdout] a15a6235c7acf1f0e847b7aa48c717e9af43af9be92091e98752017ff92cd95d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b888fe96c87dc9be1007d5907ac5ab8c4b15eb559d44a7c284a396dd7868c43 [INFO] running `Command { std: "docker" "start" "-a" "0b888fe96c87dc9be1007d5907ac5ab8c4b15eb559d44a7c284a396dd7868c43", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.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.47.1 [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] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dropbox` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "0b888fe96c87dc9be1007d5907ac5ab8c4b15eb559d44a7c284a396dd7868c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b888fe96c87dc9be1007d5907ac5ab8c4b15eb559d44a7c284a396dd7868c43", kill_on_drop: false }` [INFO] [stdout] 0b888fe96c87dc9be1007d5907ac5ab8c4b15eb559d44a7c284a396dd7868c43