[INFO] fetching crate throttle-server 0.5.7... [INFO] testing throttle-server-0.5.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate throttle-server 0.5.7 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate throttle-server 0.5.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate throttle-server 0.5.7 [INFO] tweaked toml for crates.io crate throttle-server 0.5.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate throttle-server 0.5.7 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] crate crates.io crate throttle-server 0.5.7 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-events v0.2.0 [INFO] [stderr] Downloaded version v3.0.0 [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded serde_path_to_error v0.1.16 [INFO] [stderr] Downloaded humantime-serde v1.1.1 [INFO] [stderr] Downloaded clap_derive v4.5.49 [INFO] [stderr] Downloaded clap v4.5.50 [INFO] [stderr] Downloaded zerocopy-derive v0.8.14 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded jiff-static v0.2.4 [INFO] [stderr] Downloaded clap_builder v4.5.50 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded zerocopy v0.8.14 [INFO] [stderr] Downloaded rustix v1.0.0 [INFO] [stderr] Downloaded jiff v0.2.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7885191ab6d09ed73394568b0064378d34757105194da5640f8baca052f3be9 [INFO] running `Command { std: "docker" "start" "-a" "c7885191ab6d09ed73394568b0064378d34757105194da5640f8baca052f3be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7885191ab6d09ed73394568b0064378d34757105194da5640f8baca052f3be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7885191ab6d09ed73394568b0064378d34757105194da5640f8baca052f3be9", kill_on_drop: false }` [INFO] [stdout] c7885191ab6d09ed73394568b0064378d34757105194da5640f8baca052f3be9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d5faadbb83f5b3428dd6e0d79e10b7b1fb79c7cfcda53c199bb84c8330c233 [INFO] running `Command { std: "docker" "start" "-a" "94d5faadbb83f5b3428dd6e0d79e10b7b1fb79c7cfcda53c199bb84c8330c233", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling jiff v0.2.4 [INFO] [stderr] Compiling async-events v0.2.0 [INFO] [stderr] Compiling version v3.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling throttle-server v0.5.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.63s [INFO] running `Command { std: "docker" "inspect" "94d5faadbb83f5b3428dd6e0d79e10b7b1fb79c7cfcda53c199bb84c8330c233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d5faadbb83f5b3428dd6e0d79e10b7b1fb79c7cfcda53c199bb84c8330c233", kill_on_drop: false }` [INFO] [stdout] 94d5faadbb83f5b3428dd6e0d79e10b7b1fb79c7cfcda53c199bb84c8330c233 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c939c40c7c72e90a969d2bbcaa207e8807c91c7ad4dd26099c3cf960aecbf6 [INFO] running `Command { std: "docker" "start" "-a" "17c939c40c7c72e90a969d2bbcaa207e8807c91c7ad4dd26099c3cf960aecbf6", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustix v1.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling throttle-server v0.5.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `throttle_client` [INFO] [stdout] --> tests/common.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use throttle_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `throttle_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `throttle_client`, use `cargo add throttle_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `throttle_client` [INFO] [stdout] --> tests/common.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use throttle_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `throttle_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `throttle_client`, use `cargo add throttle_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let first = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let second = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(client.acquire(first, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(client.is_acquired(first).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(!client.acquire(second, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `throttle-server` (test "common") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(!client.is_acquired(second).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | client.release(first).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(client.is_acquired(second).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let peer = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | client.acquire(peer, "A", 1, expire_in, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(1, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let first = client.new_peer(Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let second = client.new_peer(Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | client.acquire(first, "A", 1, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let timeout = tokio::time::timeout(Duration::from_millis(100), future).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | assert!(timeout.is_err()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `timeout` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let timeout: /* Type */ = tokio::time::timeout(Duration::from_millis(100), future).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | let blocker = client.new_peer(Duration::from_secs(10)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | client.acquire(blocker, "B", 1, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let peer = client.new_peer(Duration::from_millis(100)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / client [INFO] [stdout] 99 | | .acquire(peer, "A", 1, Some(Duration::from_millis(100)), None) [INFO] [stdout] 100 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / client [INFO] [stdout] 107 | | .acquire( [INFO] [stdout] 108 | | peer, [INFO] [stdout] 109 | | "B", [INFO] [stdout] ... | [INFO] [stdout] 114 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(0, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 134 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 135 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let small = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | let big = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | let other_small = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(client.acquire(small, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(!client.acquire(big, "A", 5, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | !client [INFO] [stdout] | __________^ [INFO] [stdout] 163 | | .acquire(other_small, "A", 1, None, None) [INFO] [stdout] 164 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(4, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | client.release(small).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(0, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | p.push(client.new_peer(Duration::from_secs(1)).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | assert!(client.acquire(p[0], "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | assert!(client.acquire(p[1], "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | assert!(client.acquire(p[2], "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(0, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | assert!(!client.acquire(p[3], "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | let one = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let two = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | client.acquire(one, "A", 1, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | tokio::join!(timeout(Duration::from_secs(1), wait_for_two), release_one); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | tokio::join!(timeout(Duration::from_secs(1), wait_for_two), release_one); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/client.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let (wait_for_two, _) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 222 | tokio::join!(timeout(Duration::from_secs(1), wait_for_two), release_one); [INFO] [stdout] 223 | assert!(wait_for_two.unwrap().unwrap().unwrap()); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 221 | let (wait_for_two, _): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | let one = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 234 | let two = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | client.acquire(one, "A", 1, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | !timeout( [INFO] [stdout] | __________^ [INFO] [stdout] 242 | | Duration::from_secs(1), [INFO] [stdout] 243 | | client.acquire(two, "A", 1, None, Some(Duration::from_millis(1))), [INFO] [stdout] 244 | | ) [INFO] [stdout] 245 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | let one = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | let two = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | client.acquire(one, "A", 1, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let (wait_for_two, _) = tokio::join!(wait_for_two, heartbeat); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let (wait_for_two, _) = tokio::join!(wait_for_two, heartbeat); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/client.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let (wait_for_two, _) = tokio::join!(wait_for_two, heartbeat); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 272 | let two_could_be_acquired = wait_for_two.unwrap(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 271 | let (wait_for_two, _): (_, _) = tokio::join!(wait_for_two, heartbeat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | let one = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | let two = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | assert!(client.acquire(one, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | assert!(!client.acquire(two, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | client.release(one).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | assert!(client.acquire(two, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | let one = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | let two = client.new_peer(Duration::from_secs(2)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(client.acquire(one, "A", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | assert!(client.acquire(one, "B", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | assert!(!client.acquire(two, "B", 1, None, None).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | client.release_lock(one, "B").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | assert!(client.is_acquired(two).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | assert!(client.is_acquired(one).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | let peer = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / client [INFO] [stdout] 338 | | .acquire(peer, "A", 1, Some(Duration::from_millis(1)), None) [INFO] [stdout] 339 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(1, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let peer = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | / client [INFO] [stdout] 358 | | .acquire(peer, "/&", 1, Some(Duration::from_millis(1)), None) [INFO] [stdout] 359 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:373:18 [INFO] [stdout] | [INFO] [stdout] 373 | let peer_a = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let _ = client.new_peer(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / client [INFO] [stdout] 376 | | .acquire(peer_a, "A", 1, Some(Duration::from_secs(1)), None) [INFO] [stdout] 377 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | let peers = client.list_of_peers().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `throttle-server` (test "client") due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "17c939c40c7c72e90a969d2bbcaa207e8807c91c7ad4dd26099c3cf960aecbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c939c40c7c72e90a969d2bbcaa207e8807c91c7ad4dd26099c3cf960aecbf6", kill_on_drop: false }` [INFO] [stdout] 17c939c40c7c72e90a969d2bbcaa207e8807c91c7ad4dd26099c3cf960aecbf6