[INFO] cloning repository https://github.com/ash30/http-longpoll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ash30/http-longpoll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash30%2Fhttp-longpoll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash30%2Fhttp-longpoll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43354809ae387e8420a83152ea8b0f9262d31646 [INFO] checking ash30/http-longpoll against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash30%2Fhttp-longpoll" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ash30/http-longpoll [INFO] finished tweaking git repo https://github.com/ash30/http-longpoll [INFO] tweaked toml for git repo https://github.com/ash30/http-longpoll written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ash30/http-longpoll on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ash30/http-longpoll 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.31 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded fstr v0.2.13 [INFO] [stderr] Downloaded uuid7 v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614 [INFO] running `Command { std: "docker" "start" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking fstr v0.2.13 [INFO] [stderr] Checking http-longpoll-fallback v0.1.0 (/opt/rustwide/workdir/http-longpoll-fallback) [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid7 v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking futures-test v0.3.31 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking http-longpoll v0.1.0-rc.2 (/opt/rustwide/workdir/http-longpoll) [INFO] [stderr] Checking axum-extra v0.10.1 [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, SinkExt, Stream}; [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 variable: `cx` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_timeout` [INFO] [stdout] --> http-longpoll/src/session.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | poll_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> http-longpoll/src/session.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | if let Poll::Ready(result) = self.as_mut().project().write.poll(cx) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> http-longpoll/src/session.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | fn start_send(mut self: std::pin::Pin<&mut Self>, item: T) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_opened` and `new_closed` are never used [INFO] [stdout] --> http-longpoll/src/http_poll.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl WriterState { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn new_opened(now: Instant) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn new_closed() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking example_echo v0.1.0 (/opt/rustwide/workdir/examples/echo) [INFO] [stdout] warning: unused import: `futures::stream::empty` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | use futures::stream::empty; [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 imports: `FutureExt` and `pin_mut` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | use futures::{pin_mut, stream, Future, FutureExt, Sink}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stream::pending` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 421 | use futures::{stream::pending, SinkExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Poll` and `ready` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | use std::task::{ready, Context, Poll}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:653:19 [INFO] [stdout] | [INFO] [stdout] 653 | let err = assert_err!(sut.as_mut().start_send(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:710:19 [INFO] [stdout] | [INFO] [stdout] 710 | let res = assert_ready_err!(sut.as_mut().poll_close(&mut cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:724:19 [INFO] [stdout] | [INFO] [stdout] 724 | let err = assert_ready_err!(sut.as_mut().poll_ready(&mut cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:736:19 [INFO] [stdout] | [INFO] [stdout] 736 | let err = assert_ready_err!(sut.as_mut().poll_flush(&mut cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:759:32 [INFO] [stdout] | [INFO] [stdout] 759 | let err: WriterError = assert_ready_err!(result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1204:19 [INFO] [stdout] | [INFO] [stdout] 1204 | let err = assert_ready_err!(sut.as_mut().poll(&mut cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1252:25 [INFO] [stdout] | [INFO] [stdout] 1252 | let ready_err = assert_ready_err!(sut.as_mut().poll_ready(&mut cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1268:29 [INFO] [stdout] | [INFO] [stdout] 1268 | let flush_err = assert_ready_err!(flush_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1334:19 [INFO] [stdout] | [INFO] [stdout] 1334 | let err = assert_ready_err!(flush_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, SinkExt, Stream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> http-longpoll/src/http_poll.rs:647:19 [INFO] [stdout] | [INFO] [stdout] 647 | let (sut, mut cx, _) = open_writer!(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> http-longpoll/src/http_poll.rs:647:19 [INFO] [stdout] | [INFO] [stdout] 647 | let (sut, mut cx, _) = open_writer!(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_timeout` [INFO] [stdout] --> http-longpoll/src/session.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | poll_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> http-longpoll/src/session.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | if let Poll::Ready(result) = self.as_mut().project().write.poll(cx) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> http-longpoll/src/session.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | fn start_send(mut self: std::pin::Pin<&mut Self>, item: T) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_opened` and `new_closed` are never used [INFO] [stdout] --> http-longpoll/src/http_poll.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl WriterState { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn new_opened(now: Instant) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn new_closed() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestResponse` is never used [INFO] [stdout] --> http-longpoll/src/http_poll.rs:432:10 [INFO] [stdout] | [INFO] [stdout] 432 | type TestResponse = Callback, WriterError>>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `future_handles_polling_errors_TESTING` should have a snake case name [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1184:14 [INFO] [stdout] | [INFO] [stdout] 1184 | async fn future_handles_polling_errors_TESTING() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `future_handles_polling_errors_testing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> http-longpoll/src/http_poll.rs:1186:9 [INFO] [stdout] | [INFO] [stdout] 1186 | tx1.send(Ok(Some(()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1186 | let _ = tx1.send(Ok(Some(()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.68s [INFO] running `Command { std: "docker" "inspect" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614", kill_on_drop: false }` [INFO] [stdout] a6d97222231ec21529001c82302445ac5d713a3d4333e2778c2a9a1f21b58614