[INFO] cloning repository https://github.com/aohan237/asyncnsq-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aohan237/asyncnsq-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faohan237%2Fasyncnsq-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faohan237%2Fasyncnsq-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5f265fdae25082c1707bf9f5141920f1b8cac39 [INFO] checking aohan237/asyncnsq-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faohan237%2Fasyncnsq-rs" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aohan237/asyncnsq-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aohan237/asyncnsq-rs [INFO] finished tweaking git repo https://github.com/aohan237/asyncnsq-rs [INFO] tweaked toml for git repo https://github.com/aohan237/asyncnsq-rs written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/aohan237/asyncnsq-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-80/source/tests/integrations_test.rs [INFO] [stderr] warning: unused manifest key: package.doc [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded anyhow v1.0.25 [INFO] [stderr] Downloaded sluice v0.4.2 [INFO] [stderr] Downloaded curl v0.4.25 [INFO] [stderr] Downloaded isahc v0.7.6 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.55 [INFO] [stderr] Downloaded async-trait v0.1.21 [INFO] [stderr] Downloaded async-task v1.0.0 [INFO] [stderr] Downloaded js-sys v0.3.32 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.55 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded surf v1.0.3 [INFO] [stderr] Downloaded mio v0.6.20 [INFO] [stderr] Downloaded async-std v1.4.0 [INFO] [stderr] Downloaded broadcaster v0.2.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.55 [INFO] [stderr] Downloaded wasm-bindgen v0.2.55 [INFO] [stderr] Downloaded web-sys v0.3.32 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.2 [INFO] [stderr] Downloaded curl-sys v0.4.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11b36083c064c99292428d5b15ab116708dddb2fa9e8b6dc5b0ac46c02d967b6 [INFO] running `Command { std: "docker" "start" "-a" "11b36083c064c99292428d5b15ab116708dddb2fa9e8b6dc5b0ac46c02d967b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b36083c064c99292428d5b15ab116708dddb2fa9e8b6dc5b0ac46c02d967b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b36083c064c99292428d5b15ab116708dddb2fa9e8b6dc5b0ac46c02d967b6", kill_on_drop: false }` [INFO] [stdout] 11b36083c064c99292428d5b15ab116708dddb2fa9e8b6dc5b0ac46c02d967b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a1c11a58b2d3649252b8e8cd1a400f60c53f3551536a65e4aae1c6901602c8 [INFO] running `Command { std: "docker" "start" "-a" "94a1c11a58b2d3649252b8e8cd1a400f60c53f3551536a65e4aae1c6901602c8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: file found to be present in multiple build targets: /tmp/fixit/tests/integrations_test.rs [INFO] [stderr] warning: unused manifest key: package.doc [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking sluice v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.24 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.20 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.21 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking broadcaster v0.2.6 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking async-std v1.4.0 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking surf v1.0.3 [INFO] [stderr] Checking asyncnsq v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/writer.rs (5 fixes) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/reader.rs (6 fixes) [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait MsgHandler { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ ...because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `handler` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 288 | / loop { [INFO] [stdout] 289 | | reader.sub(nsq_topic.as_str(), nsq_channel.as_str()).await?; [INFO] [stdout] 290 | | 'a: loop { [INFO] [stdout] 291 | | dbg!("msg_receiver"); [INFO] [stdout] ... | [INFO] [stdout] 303 | | reader.reconnect().await?; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | Ok(reader) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait MsgHandler { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ ...because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `handler` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 132 | / loop { [INFO] [stdout] 133 | | if let Some(mut raw_data) = raw_receiver.recv().await { [INFO] [stdout] 134 | | all_data.append(&mut raw_data); [INFO] [stdout] 135 | | } [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 288 | / loop { [INFO] [stdout] 289 | | reader.sub(nsq_topic.as_str(), nsq_channel.as_str()).await?; [INFO] [stdout] 290 | | 'a: loop { [INFO] [stdout] 291 | | dbg!("msg_receiver"); [INFO] [stdout] ... | [INFO] [stdout] 303 | | reader.reconnect().await?; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | Ok(reader) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/reader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 101 | / loop { [INFO] [stdout] 102 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 103 | | dbg!("wait for read"); [INFO] [stdout] 104 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 120 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 132 | / loop { [INFO] [stdout] 133 | | if let Some(mut raw_data) = raw_receiver.recv().await { [INFO] [stdout] 134 | | all_data.append(&mut raw_data); [INFO] [stdout] 135 | | } [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/reader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 101 | / loop { [INFO] [stdout] 102 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 103 | | dbg!("wait for read"); [INFO] [stdout] 104 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 120 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/writer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 97 | | dbg!("wait for read"); [INFO] [stdout] 98 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 108 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/writer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 97 | | dbg!("wait for read"); [INFO] [stdout] 98 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 108 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | self.nsqlookup(handler.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/reader.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | self.nsqlookup(handler.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/reader.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/integrations_test.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/publish_test.rs from 2018 edition to 2021 [INFO] [stderr] Fixed tests/integrations_test.rs (3 fixes) [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.77s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] warning: file found to be present in multiple build targets: /tmp/fixit/tests/integrations_test.rs [INFO] [stderr] warning: unused manifest key: package.doc [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking asyncnsq v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait MsgHandler { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ ...because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `handler` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait MsgHandler { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ ...because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `handler` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 288 | / loop { [INFO] [stdout] 289 | | reader.sub(nsq_topic.as_str(), nsq_channel.as_str()).await?; [INFO] [stdout] 290 | | 'a: loop { [INFO] [stdout] 291 | | dbg!("msg_receiver"); [INFO] [stdout] ... | [INFO] [stdout] 303 | | reader.reconnect().await?; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | Ok(reader) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 288 | / loop { [INFO] [stdout] 289 | | reader.sub(nsq_topic.as_str(), nsq_channel.as_str()).await?; [INFO] [stdout] 290 | | 'a: loop { [INFO] [stdout] 291 | | dbg!("msg_receiver"); [INFO] [stdout] ... | [INFO] [stdout] 303 | | reader.reconnect().await?; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | Ok(reader) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 132 | / loop { [INFO] [stdout] 133 | | if let Some(mut raw_data) = raw_receiver.recv().await { [INFO] [stdout] 134 | | all_data.append(&mut raw_data); [INFO] [stdout] 135 | | } [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 132 | / loop { [INFO] [stdout] 133 | | if let Some(mut raw_data) = raw_receiver.recv().await { [INFO] [stdout] 134 | | all_data.append(&mut raw_data); [INFO] [stdout] 135 | | } [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 196 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/reader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 101 | / loop { [INFO] [stdout] 102 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 103 | | dbg!("wait for read"); [INFO] [stdout] 104 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 120 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/reader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 101 | / loop { [INFO] [stdout] 102 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 103 | | dbg!("wait for read"); [INFO] [stdout] 104 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 120 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/writer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 97 | | dbg!("wait for read"); [INFO] [stdout] 98 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 108 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/writer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | let mut tmpbuf = vec![0u8; 1024]; [INFO] [stdout] 97 | | dbg!("wait for read"); [INFO] [stdout] 98 | | let n = reader.read(&mut tmpbuf).await?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 108 | dbg!("read_data finish"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | self.nsqlookup(handler.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/reader.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | self.nsqlookup(handler.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/reader.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | tmpbuf.split_off(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `MsgHandler` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [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 #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn handler(&self, msg: Msg) -> Option { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `handler` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integrations_test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | let tt = TestMsg { [INFO] [stdout] 90 | | name: "ss".to_string(), [INFO] [stdout] 91 | | }; [INFO] [stdout] ... | [INFO] [stdout] 107 | | task::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_reader` [INFO] [stdout] --> tests/integrations_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn test_reader() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_writer` [INFO] [stdout] --> tests/integrations_test.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn test_writer() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integrations_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.79s [INFO] running `Command { std: "docker" "inspect" "94a1c11a58b2d3649252b8e8cd1a400f60c53f3551536a65e4aae1c6901602c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a1c11a58b2d3649252b8e8cd1a400f60c53f3551536a65e4aae1c6901602c8", kill_on_drop: false }` [INFO] [stdout] 94a1c11a58b2d3649252b8e8cd1a400f60c53f3551536a65e4aae1c6901602c8