[INFO] fetching crate rust-dropbox 0.2.8... [INFO] building rust-dropbox-0.2.8 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust-dropbox 0.2.8 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-dropbox 0.2.8 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f7e5cb6190fe3c829bdafc72f314bd0aa8070a108fce6644115f702a231a6c [INFO] running `Command { std: "docker" "start" "-a" "07f7e5cb6190fe3c829bdafc72f314bd0aa8070a108fce6644115f702a231a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f7e5cb6190fe3c829bdafc72f314bd0aa8070a108fce6644115f702a231a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f7e5cb6190fe3c829bdafc72f314bd0aa8070a108fce6644115f702a231a6c", kill_on_drop: false }` [INFO] [stdout] 07f7e5cb6190fe3c829bdafc72f314bd0aa8070a108fce6644115f702a231a6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91e17d3515f0dc06096dcea3612d766fed9e684385a965b890111f4fbe31da01 [INFO] running `Command { std: "docker" "start" "-a" "91e17d3515f0dc06096dcea3612d766fed9e684385a965b890111f4fbe31da01", kill_on_drop: false }` [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling url v2.5.7 [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 11.81s [INFO] running `Command { std: "docker" "inspect" "91e17d3515f0dc06096dcea3612d766fed9e684385a965b890111f4fbe31da01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e17d3515f0dc06096dcea3612d766fed9e684385a965b890111f4fbe31da01", kill_on_drop: false }` [INFO] [stdout] 91e17d3515f0dc06096dcea3612d766fed9e684385a965b890111f4fbe31da01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c21b9d2efeb8144d0371bd3116c8883188940af1555f4fa6cb769e4df94c7586 [INFO] running `Command { std: "docker" "start" "-a" "c21b9d2efeb8144d0371bd3116c8883188940af1555f4fa6cb769e4df94c7586", 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: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] 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: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: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] 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" "c21b9d2efeb8144d0371bd3116c8883188940af1555f4fa6cb769e4df94c7586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21b9d2efeb8144d0371bd3116c8883188940af1555f4fa6cb769e4df94c7586", kill_on_drop: false }` [INFO] [stdout] c21b9d2efeb8144d0371bd3116c8883188940af1555f4fa6cb769e4df94c7586