[INFO] fetching crate sdb_server_core 0.6.0... [INFO] checking sdb_server_core-0.6.0 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] extracting crate sdb_server_core 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate sdb_server_core 0.6.0 [INFO] finished tweaking crates.io crate sdb_server_core 0.6.0 [INFO] tweaked toml for crates.io crate sdb_server_core 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sdb_server_core 0.6.0 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "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" "+95813608313bff49cfc1afc393a946a3c085b772" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 348 packages to latest compatible versions [INFO] [stderr] Adding config v0.13.4 (available: v0.15.19) [INFO] [stderr] Adding crypto-common v0.1.6 (available: v0.1.7) [INFO] [stderr] Adding fern v0.6.2 (available: v0.7.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbe906474e7edd1d995b5ef1ac02af15c472c98e03f9b5ab3fc78cf39427a6a3 [INFO] running `Command { std: "docker" "start" "-a" "cbe906474e7edd1d995b5ef1ac02af15c472c98e03f9b5ab3fc78cf39427a6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbe906474e7edd1d995b5ef1ac02af15c472c98e03f9b5ab3fc78cf39427a6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe906474e7edd1d995b5ef1ac02af15c472c98e03f9b5ab3fc78cf39427a6a3", kill_on_drop: false }` [INFO] [stdout] cbe906474e7edd1d995b5ef1ac02af15c472c98e03f9b5ab3fc78cf39427a6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd81be885fd8c3d140b44026aeb44e13979a38e20c663e023a644f2be6788f84 [INFO] running `Command { std: "docker" "start" "-a" "cd81be885fd8c3d140b44026aeb44e13979a38e20c663e023a644f2be6788f84", kill_on_drop: false }` [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Checking openssl-sys v0.9.111 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking spinning_top v0.2.5 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking flume v0.9.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling circular-queue v0.2.7 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Checking sdb_core v0.6.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking js-sys v0.3.82 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Checking web-sys v0.3.82 [INFO] [stderr] Checking http-client v6.5.3 [INFO] [stderr] Checking surf v2.3.2 [INFO] [stderr] Checking sdb_server_core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdb_core::utils` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdb_core::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdb_core::utils` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdb_core::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/plugins/influx.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | while let Some(sizes) = rx.next().await { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 21 - while let Some(sizes) = rx.next().await { [INFO] [stdout] 21 + while let Some(sizes) = async_std::stream::StreamExt::next(&mut rx).await { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 21 - while let Some(sizes) = rx.next().await { [INFO] [stdout] 21 + while let Some(sizes) = futures::StreamExt::next(&mut rx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/plugins/influx.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(&str, _, _)` [INFO] [stdout] --> src/plugins/influx.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | buf += &sz_disk.to_string(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem): (&_, _, _)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(&str, {type error}, _)` [INFO] [stdout] --> src/plugins/influx.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | buf += &sz_mem.to_string(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem): (&_, _, _)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | event = events.next().fuse() => match event { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 123 - event = events.next().fuse() => match event { [INFO] [stdout] 123 + event = async_std::stream::StreamExt::next(&mut events).fuse() => match event { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 - event = events.next().fuse() => match event { [INFO] [stdout] 123 + event = futures::StreamExt::next(&mut events).fuse() => match event { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 127 - disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] 127 + disconnect = async_std::stream::StreamExt::next(&mut disconnect_receiver).fuse() => { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 - disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] 127 + disconnect = futures::StreamExt::next(&mut disconnect_receiver).fuse() => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | let (addr, _pending_messages) = disconnect.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:169:70 [INFO] [stdout] | [INFO] [stdout] 169 | while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 169 - while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] 169 + while let Some((_name, _pending_messages)) = async_std::stream::StreamExt::next(&mut disconnect_receiver).await { } [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 169 - while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] 169 + while let Some((_name, _pending_messages)) = futures::StreamExt::next(&mut disconnect_receiver).await { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/plugins/influx.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | while let Some(sizes) = rx.next().await { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 21 - while let Some(sizes) = rx.next().await { [INFO] [stdout] 21 + while let Some(sizes) = async_std::stream::StreamExt::next(&mut rx).await { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 21 - while let Some(sizes) = rx.next().await { [INFO] [stdout] 21 + while let Some(sizes) = futures::StreamExt::next(&mut rx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/plugins/influx.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(&str, _, _)` [INFO] [stdout] --> src/plugins/influx.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | buf += &sz_disk.to_string(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem): (&_, _, _)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(&str, {type error}, _)` [INFO] [stdout] --> src/plugins/influx.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | buf += &sz_mem.to_string(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | sizes.iter().for_each(|(ob, sz_disk, sz_mem): (&_, _, _)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(stream) = incoming.next().await { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 63 - while let Some(stream) = incoming.next().await { [INFO] [stdout] 63 + while let Some(stream) = async_std::stream::StreamExt::next(&mut incoming).await { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 63 - while let Some(stream) = incoming.next().await { [INFO] [stdout] 63 + while let Some(stream) = futures::StreamExt::next(&mut incoming).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let stream = stream?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | info!("Accepting from: {}", stream.peer_addr()?); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 64 | let stream: /* Type */ = stream?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | msg = messages.next().fuse() => { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 181 - msg = messages.next().fuse() => { [INFO] [stdout] 181 + msg = async_std::stream::StreamExt::next(&mut messages).fuse() => { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 181 - msg = messages.next().fuse() => { [INFO] [stdout] 181 + msg = futures::StreamExt::next(&mut messages).fuse() => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | void = shutdown.next().fuse() => match void { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 219 - void = shutdown.next().fuse() => match void { [INFO] [stdout] 219 + void = async_std::stream::StreamExt::next(&mut shutdown).fuse() => match void { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 219 - void = shutdown.next().fuse() => match void { [INFO] [stdout] 219 + void = futures::StreamExt::next(&mut shutdown).fuse() => match void { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | event = events.next().fuse() => match event { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 123 - event = events.next().fuse() => match event { [INFO] [stdout] 123 + event = async_std::stream::StreamExt::next(&mut events).fuse() => match event { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 - event = events.next().fuse() => match event { [INFO] [stdout] 123 + event = futures::StreamExt::next(&mut events).fuse() => match event { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 127 - disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] 127 + disconnect = async_std::stream::StreamExt::next(&mut disconnect_receiver).fuse() => { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 - disconnect = disconnect_receiver.next().fuse() => { [INFO] [stdout] 127 + disconnect = futures::StreamExt::next(&mut disconnect_receiver).fuse() => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | let (addr, _pending_messages) = disconnect.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:169:70 [INFO] [stdout] | [INFO] [stdout] 169 | while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 169 - while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] 169 + while let Some((_name, _pending_messages)) = async_std::stream::StreamExt::next(&mut disconnect_receiver).await { } [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 169 - while let Some((_name, _pending_messages)) = disconnect_receiver.next().await { } [INFO] [stdout] 169 + while let Some((_name, _pending_messages)) = futures::StreamExt::next(&mut disconnect_receiver).await { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(stream) = incoming.next().await { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 63 - while let Some(stream) = incoming.next().await { [INFO] [stdout] 63 + while let Some(stream) = async_std::stream::StreamExt::next(&mut incoming).await { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 63 - while let Some(stream) = incoming.next().await { [INFO] [stdout] 63 + while let Some(stream) = futures::StreamExt::next(&mut incoming).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let stream = stream?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | info!("Accepting from: {}", stream.peer_addr()?); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 64 | let stream: /* Type */ = stream?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | msg = messages.next().fuse() => { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 181 - msg = messages.next().fuse() => { [INFO] [stdout] 181 + msg = async_std::stream::StreamExt::next(&mut messages).fuse() => { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 181 - msg = messages.next().fuse() => { [INFO] [stdout] 181 + msg = futures::StreamExt::next(&mut messages).fuse() => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/server.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | void = shutdown.next().fuse() => match void { [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `async_std::stream::StreamExt` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 219 - void = shutdown.next().fuse() => match void { [INFO] [stdout] 219 + void = async_std::stream::StreamExt::next(&mut shutdown).fuse() => match void { [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 219 - void = shutdown.next().fuse() => match void { [INFO] [stdout] 219 + void = futures::StreamExt::next(&mut shutdown).fuse() => match void { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdb_server_core` (lib test) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdb_server_core` (lib) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cd81be885fd8c3d140b44026aeb44e13979a38e20c663e023a644f2be6788f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd81be885fd8c3d140b44026aeb44e13979a38e20c663e023a644f2be6788f84", kill_on_drop: false }` [INFO] [stdout] cd81be885fd8c3d140b44026aeb44e13979a38e20c663e023a644f2be6788f84