[INFO] fetching crate backblaze-b2-client 0.1.6...
[INFO] testing backblaze-b2-client-0.1.6 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate backblaze-b2-client 0.1.6 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate backblaze-b2-client 0.1.6
[INFO] finished tweaking crates.io crate backblaze-b2-client 0.1.6
[INFO] tweaked toml for crates.io crate backblaze-b2-client 0.1.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate backblaze-b2-client 0.1.6 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate backblaze-b2-client 0.1.6 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder-macro v0.20.1
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.51
[INFO] [stderr]   Downloaded typed-builder v0.20.1
[INFO] [stderr]   Downloaded web-sys v0.3.78
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf7dfaec0bfb13b3a4d930982f372a5db43a11d15280dbf0a3710f2ca3c1e833
[INFO] running `Command { std: "docker" "start" "-a" "bf7dfaec0bfb13b3a4d930982f372a5db43a11d15280dbf0a3710f2ca3c1e833", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf7dfaec0bfb13b3a4d930982f372a5db43a11d15280dbf0a3710f2ca3c1e833", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf7dfaec0bfb13b3a4d930982f372a5db43a11d15280dbf0a3710f2ca3c1e833", kill_on_drop: false }`
[INFO] [stdout] bf7dfaec0bfb13b3a4d930982f372a5db43a11d15280dbf0a3710f2ca3c1e833
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0b94fef418cbc39cd49db0f7c45033cab38dd8345287e1c99828aab970ba137
[INFO] running `Command { std: "docker" "start" "-a" "e0b94fef418cbc39cd49db0f7c45033cab38dd8345287e1c99828aab970ba137", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling cc v1.2.36
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[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 serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling typed-builder-macro v0.20.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling typed-builder v0.20.1
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.14.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling backblaze-b2-client v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.42s
[INFO] running `Command { std: "docker" "inspect" "e0b94fef418cbc39cd49db0f7c45033cab38dd8345287e1c99828aab970ba137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0b94fef418cbc39cd49db0f7c45033cab38dd8345287e1c99828aab970ba137", kill_on_drop: false }`
[INFO] [stdout] e0b94fef418cbc39cd49db0f7c45033cab38dd8345287e1c99828aab970ba137
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e326bff190d7197422eb585b2a410d71e30ea966bd9b46c93570a3fba26f599a
[INFO] running `Command { std: "docker" "start" "-a" "e326bff190d7197422eb585b2a410d71e30ea966bd9b46c93570a3fba26f599a", kill_on_drop: false }`
[INFO] [stderr]    Compiling backblaze-b2-client v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s
[INFO] running `Command { std: "docker" "inspect" "e326bff190d7197422eb585b2a410d71e30ea966bd9b46c93570a3fba26f599a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e326bff190d7197422eb585b2a410d71e30ea966bd9b46c93570a3fba26f599a", kill_on_drop: false }`
[INFO] [stdout] e326bff190d7197422eb585b2a410d71e30ea966bd9b46c93570a3fba26f599a
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bb87ff75f305050d6ad78b75a86c73b243b6027ebc47f1ae043647ef47934451
[INFO] running `Command { std: "docker" "start" "-a" "bb87ff75f305050d6ad78b75a86c73b243b6027ebc47f1ae043647ef47934451", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/backblaze_b2_client-44a979069a65ddb0)
[INFO] [stderr]    Doc-tests backblaze_b2_client
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/tasks/upload/options.rs - tasks::upload::options::FileUploadOptions::speed_throttle (line 21) ... FAILED
[INFO] [stdout] test src/throttle.rs - throttle::Throttle<T>::per_second (line 28) ... FAILED
[INFO] [stdout] test src/throttle.rs - throttle::Throttle<T>::per_minute (line 36) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 26) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/tasks/upload/options.rs - tasks::upload::options::FileUploadOptions::speed_throttle (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Throttle`
[INFO] [stdout]   --> src/tasks/upload/options.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | let throttle = Throttle::per_second(SizeUnit::MEBIBYTE * 5);
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Throttle`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use backblaze_b2_client::throttle::Throttle;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SizeUnit`
[INFO] [stdout]   --> src/tasks/upload/options.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 | let throttle = Throttle::per_second(SizeUnit::MEBIBYTE * 5);
[INFO] [stdout]    |                                     ^^^^^^^^ use of undeclared type `SizeUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 21 + use backblaze_b2_client::util::SizeUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/throttle.rs - throttle::Throttle<T>::per_second (line 28) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Throttle`
[INFO] [stdout]   --> src/throttle.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | Throttle::new(max_per_period, Duration::from_secs(1))
[INFO] [stdout]    | ^^^^^^^^ use of undeclared type `Throttle`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 28 + use backblaze_b2_client::throttle::Throttle;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_per_period` in this scope
[INFO] [stdout]   --> src/throttle.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 | Throttle::new(max_per_period, Duration::from_secs(1))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/throttle.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 | Throttle::new(max_per_period, Duration::from_secs(1))
[INFO] [stdout]    |                               ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/throttle.rs - throttle::Throttle<T>::per_minute (line 36) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Throttle`
[INFO] [stdout]   --> src/throttle.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | Throttle::new(max_per_period, Duration::from_secs(60))
[INFO] [stdout]    | ^^^^^^^^ use of undeclared type `Throttle`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 36 + use backblaze_b2_client::throttle::Throttle;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_per_period` in this scope
[INFO] [stdout]   --> src/throttle.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | Throttle::new(max_per_period, Duration::from_secs(60))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/throttle.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 | Throttle::new(max_per_period, Duration::from_secs(60))
[INFO] [stdout]    |                               ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 36 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 36 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 26) stdout ----
[INFO] [stdout] error: the `async` keyword is missing from the function declaration
[INFO] [stdout]   --> src/lib.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() {
[INFO] [stdout]    | ^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `backblaze_b2_client::B2Client`
[INFO] [stdout]   --> src/lib.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use backblaze_b2_client::B2Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `B2Client` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 28 | use backblaze_b2_client::client::B2Client;
[INFO] [stdout]    |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `open_file` in this scope
[INFO] [stdout]   --> src/lib.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let metadata = open_file.metadata().await.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `file_handle` in this scope
[INFO] [stdout]   --> src/lib.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let file_handle_copy = file_handle.clone();
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]   --> src/lib.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             sleep(Duration::from_millis(500)).await;
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::thread::sleep;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use tokio::time::sleep;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             sleep(Duration::from_millis(500)).await;
[INFO] [stdout]    |                   ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let metadata = open_file.metadata().await.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let upload = client.create_upload(
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     let file = upload.start().await.unwrap();
[INFO] [stdout]    |                ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `upload` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let upload: /* Type */ = client.create_upload(
[INFO] [stdout]    |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let file = upload.start().await.unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 26)
[INFO] [stdout]     src/tasks/upload/options.rs - tasks::upload::options::FileUploadOptions::speed_throttle (line 21)
[INFO] [stdout]     src/throttle.rs - throttle::Throttle<T>::per_minute (line 36)
[INFO] [stdout]     src/throttle.rs - throttle::Throttle<T>::per_second (line 28)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bb87ff75f305050d6ad78b75a86c73b243b6027ebc47f1ae043647ef47934451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb87ff75f305050d6ad78b75a86c73b243b6027ebc47f1ae043647ef47934451", kill_on_drop: false }`
[INFO] [stdout] bb87ff75f305050d6ad78b75a86c73b243b6027ebc47f1ae043647ef47934451
