[INFO] fetching crate rmp-futures 0.3.0... [INFO] testing rmp-futures-0.3.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rmp-futures 0.3.0 into /workspace/builds/worker-70/source [INFO] validating manifest of crates.io crate rmp-futures 0.3.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rmp-futures 0.3.0 [INFO] finished tweaking crates.io crate rmp-futures 0.3.0 [INFO] tweaked toml for crates.io crate rmp-futures 0.3.0 written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate crates.io crate rmp-futures 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.2 [INFO] [stderr] Downloaded gloo-timers v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcae265e1f4986a90aa0847891d010ea0caa3693707f1647336e10f85d521a6c [INFO] running `Command { std: "docker" "start" "-a" "dcae265e1f4986a90aa0847891d010ea0caa3693707f1647336e10f85d521a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcae265e1f4986a90aa0847891d010ea0caa3693707f1647336e10f85d521a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcae265e1f4986a90aa0847891d010ea0caa3693707f1647336e10f85d521a6c", kill_on_drop: false }` [INFO] [stdout] dcae265e1f4986a90aa0847891d010ea0caa3693707f1647336e10f85d521a6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8a60754d20e6429a7fcf1329173093f0062e215f79341c5e4048e9e91008c4 [INFO] running `Command { std: "docker" "start" "-a" "9d8a60754d20e6429a7fcf1329173093f0062e215f79341c5e4048e9e91008c4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling rmpv v0.4.7 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling rmp-futures v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 336 | / pub async fn write_nil(mut self) -> IoResult { [INFO] [stdout] 337 | | self.write_marker(Marker::Null).await.map(|()| self.writer) [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 341 | / pub async fn write_bool(mut self, val: bool) -> IoResult { [INFO] [stdout] 342 | | if val { [INFO] [stdout] 343 | | self.write_marker(Marker::True) [INFO] [stdout] 344 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 348 | | .map(|()| self.writer) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | / pub async fn write_int(self, val: impl Into) -> IoResult { [INFO] [stdout] 394 | | self.write_efficient_int(val.into()).await [INFO] [stdout] 395 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 398 | / pub async fn write_f32(mut self, val: f32) -> IoResult { [INFO] [stdout] 399 | | self.write_marker(Marker::F32).await?; [INFO] [stdout] 400 | | let mut buf = [0u8; 4]; [INFO] [stdout] 401 | | BigEndian::write_f32(&mut buf, val); [INFO] [stdout] 402 | | self.write_4(buf).await.map(|()| self.writer) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 406 | / pub async fn write_f64(mut self, val: f64) -> IoResult { [INFO] [stdout] 407 | | self.write_marker(Marker::F64).await?; [INFO] [stdout] 408 | | let mut buf = [0u8; 8]; [INFO] [stdout] 409 | | BigEndian::write_f64(&mut buf, val); [INFO] [stdout] 410 | | self.write_8(buf).await.map(|()| self.writer) [INFO] [stdout] 411 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 414 | / pub async fn write_array_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 415 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 416 | | [INFO] [stdout] 417 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 431 | | }) [INFO] [stdout] 432 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | / pub async fn write_map_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 436 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 437 | | [INFO] [stdout] 438 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 452 | | }) [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 458 | / pub async fn write_bin_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 459 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 460 | | self.write_marker(Marker::Bin8).await?; [INFO] [stdout] 461 | | self.write_u8(len).await [INFO] [stdout] ... | [INFO] [stdout] 469 | | .map(|()| self.writer) [INFO] [stdout] 470 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 474 | / pub async fn write_bin(self, data: &[u8]) -> IoResult { [INFO] [stdout] 475 | | let mut w = self.write_bin_len(data.len().try_into().unwrap()).await?; [INFO] [stdout] 476 | | w.write_all(data).await?; [INFO] [stdout] 477 | | Ok(w) [INFO] [stdout] 478 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 483 | / pub async fn write_str_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 484 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 485 | | if len < 32 { [INFO] [stdout] 486 | | self.write_marker(Marker::FixStr(len)).await [INFO] [stdout] ... | [INFO] [stdout] 498 | | .map(|()| self.writer) [INFO] [stdout] 499 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 503 | / pub async fn write_str_bytes(self, string: &[u8]) -> IoResult { [INFO] [stdout] 504 | | let mut w = self.write_str_len(string.len().try_into().unwrap()).await?; [INFO] [stdout] 505 | | w.write_all(string).await?; [INFO] [stdout] 506 | | Ok(w) [INFO] [stdout] 507 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 511 | / pub async fn write_str(self, string: &str) -> IoResult { [INFO] [stdout] 512 | | self.write_str_bytes(string.as_bytes()).await [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 523 | / pub async fn write_ext_meta(mut self, len: u32, ty: i8) -> IoResult { [INFO] [stdout] 524 | | assert!(ty >= 0); [INFO] [stdout] 525 | | [INFO] [stdout] 526 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] ... | [INFO] [stdout] 555 | | self.write_u8(ty as u8).await.map(|()| self.writer) [INFO] [stdout] 556 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 559 | / pub async fn write_ext(self, data: &[u8], ty: i8) -> IoResult { [INFO] [stdout] 560 | | let mut w = self [INFO] [stdout] 561 | | .write_ext_meta(data.len().try_into().unwrap(), ty) [INFO] [stdout] 562 | | .await?; [INFO] [stdout] 563 | | w.write_all(data).await?; [INFO] [stdout] 564 | | Ok(w) [INFO] [stdout] 565 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 573 | / pub async fn write_value(self, value: &Value) -> IoResult [INFO] [stdout] 574 | | where [INFO] [stdout] 575 | | W: Send, [INFO] [stdout] 576 | | { [INFO] [stdout] ... | [INFO] [stdout] 588 | | } [INFO] [stdout] 589 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 597 | / pub async fn write_value_ref(self, value: &ValueRef<'_>) -> IoResult [INFO] [stdout] 598 | | where [INFO] [stdout] 599 | | W: Send, [INFO] [stdout] 600 | | { [INFO] [stdout] ... | [INFO] [stdout] 626 | | } [INFO] [stdout] 627 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | / pub async fn write_request( [INFO] [stdout] 39 | | self, [INFO] [stdout] 40 | | msgid: MsgId, [INFO] [stdout] 41 | | method: impl AsRef, [INFO] [stdout] ... | [INFO] [stdout] 61 | | args.write_array_len(num_args).await [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | / pub async fn write_notification( [INFO] [stdout] 110 | | self, [INFO] [stdout] 111 | | method: impl AsRef, [INFO] [stdout] 112 | | num_args: u32, [INFO] [stdout] ... | [INFO] [stdout] 124 | | args.write_array_len(num_args).await [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "9d8a60754d20e6429a7fcf1329173093f0062e215f79341c5e4048e9e91008c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8a60754d20e6429a7fcf1329173093f0062e215f79341c5e4048e9e91008c4", kill_on_drop: false }` [INFO] [stdout] 9d8a60754d20e6429a7fcf1329173093f0062e215f79341c5e4048e9e91008c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65f1a33596b37f92d145fdcf395bb766748d122e99b578bdbc8fe91a448db2d0 [INFO] running `Command { std: "docker" "start" "-a" "65f1a33596b37f92d145fdcf395bb766748d122e99b578bdbc8fe91a448db2d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 336 | / pub async fn write_nil(mut self) -> IoResult { [INFO] [stdout] 337 | | self.write_marker(Marker::Null).await.map(|()| self.writer) [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 341 | / pub async fn write_bool(mut self, val: bool) -> IoResult { [INFO] [stdout] 342 | | if val { [INFO] [stdout] 343 | | self.write_marker(Marker::True) [INFO] [stdout] 344 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 348 | | .map(|()| self.writer) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | / pub async fn write_int(self, val: impl Into) -> IoResult { [INFO] [stdout] 394 | | self.write_efficient_int(val.into()).await [INFO] [stdout] 395 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 398 | / pub async fn write_f32(mut self, val: f32) -> IoResult { [INFO] [stdout] 399 | | self.write_marker(Marker::F32).await?; [INFO] [stdout] 400 | | let mut buf = [0u8; 4]; [INFO] [stdout] 401 | | BigEndian::write_f32(&mut buf, val); [INFO] [stdout] 402 | | self.write_4(buf).await.map(|()| self.writer) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 406 | / pub async fn write_f64(mut self, val: f64) -> IoResult { [INFO] [stdout] 407 | | self.write_marker(Marker::F64).await?; [INFO] [stdout] 408 | | let mut buf = [0u8; 8]; [INFO] [stdout] 409 | | BigEndian::write_f64(&mut buf, val); [INFO] [stdout] 410 | | self.write_8(buf).await.map(|()| self.writer) [INFO] [stdout] 411 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 414 | / pub async fn write_array_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 415 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 416 | | [INFO] [stdout] 417 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 431 | | }) [INFO] [stdout] 432 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | / pub async fn write_map_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 436 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 437 | | [INFO] [stdout] 438 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 452 | | }) [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 458 | / pub async fn write_bin_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 459 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 460 | | self.write_marker(Marker::Bin8).await?; [INFO] [stdout] 461 | | self.write_u8(len).await [INFO] [stdout] ... | [INFO] [stdout] 469 | | .map(|()| self.writer) [INFO] [stdout] 470 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 474 | / pub async fn write_bin(self, data: &[u8]) -> IoResult { [INFO] [stdout] 475 | | let mut w = self.write_bin_len(data.len().try_into().unwrap()).await?; [INFO] [stdout] 476 | | w.write_all(data).await?; [INFO] [stdout] 477 | | Ok(w) [INFO] [stdout] 478 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 483 | / pub async fn write_str_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 484 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 485 | | if len < 32 { [INFO] [stdout] 486 | | self.write_marker(Marker::FixStr(len)).await [INFO] [stdout] ... | [INFO] [stdout] 498 | | .map(|()| self.writer) [INFO] [stdout] 499 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 503 | / pub async fn write_str_bytes(self, string: &[u8]) -> IoResult { [INFO] [stdout] 504 | | let mut w = self.write_str_len(string.len().try_into().unwrap()).await?; [INFO] [stdout] 505 | | w.write_all(string).await?; [INFO] [stdout] 506 | | Ok(w) [INFO] [stdout] 507 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 511 | / pub async fn write_str(self, string: &str) -> IoResult { [INFO] [stdout] 512 | | self.write_str_bytes(string.as_bytes()).await [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 523 | / pub async fn write_ext_meta(mut self, len: u32, ty: i8) -> IoResult { [INFO] [stdout] 524 | | assert!(ty >= 0); [INFO] [stdout] 525 | | [INFO] [stdout] 526 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] ... | [INFO] [stdout] 555 | | self.write_u8(ty as u8).await.map(|()| self.writer) [INFO] [stdout] 556 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 559 | / pub async fn write_ext(self, data: &[u8], ty: i8) -> IoResult { [INFO] [stdout] 560 | | let mut w = self [INFO] [stdout] 561 | | .write_ext_meta(data.len().try_into().unwrap(), ty) [INFO] [stdout] 562 | | .await?; [INFO] [stdout] 563 | | w.write_all(data).await?; [INFO] [stdout] 564 | | Ok(w) [INFO] [stdout] 565 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 573 | / pub async fn write_value(self, value: &Value) -> IoResult [INFO] [stdout] 574 | | where [INFO] [stdout] 575 | | W: Send, [INFO] [stdout] 576 | | { [INFO] [stdout] ... | [INFO] [stdout] 588 | | } [INFO] [stdout] 589 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 597 | / pub async fn write_value_ref(self, value: &ValueRef<'_>) -> IoResult [INFO] [stdout] 598 | | where [INFO] [stdout] 599 | | W: Send, [INFO] [stdout] 600 | | { [INFO] [stdout] ... | [INFO] [stdout] 626 | | } [INFO] [stdout] 627 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | / pub async fn write_request( [INFO] [stdout] 39 | | self, [INFO] [stdout] 40 | | msgid: MsgId, [INFO] [stdout] 41 | | method: impl AsRef, [INFO] [stdout] ... | [INFO] [stdout] 61 | | args.write_array_len(num_args).await [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | / pub async fn write_notification( [INFO] [stdout] 110 | | self, [INFO] [stdout] 111 | | method: impl AsRef, [INFO] [stdout] 112 | | num_args: u32, [INFO] [stdout] ... | [INFO] [stdout] 124 | | args.write_array_len(num_args).await [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling rmp-futures v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 336 | / pub async fn write_nil(mut self) -> IoResult { [INFO] [stdout] 337 | | self.write_marker(Marker::Null).await.map(|()| self.writer) [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 341 | / pub async fn write_bool(mut self, val: bool) -> IoResult { [INFO] [stdout] 342 | | if val { [INFO] [stdout] 343 | | self.write_marker(Marker::True) [INFO] [stdout] 344 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 348 | | .map(|()| self.writer) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 393 | / pub async fn write_int(self, val: impl Into) -> IoResult { [INFO] [stdout] 394 | | self.write_efficient_int(val.into()).await [INFO] [stdout] 395 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 398 | / pub async fn write_f32(mut self, val: f32) -> IoResult { [INFO] [stdout] 399 | | self.write_marker(Marker::F32).await?; [INFO] [stdout] 400 | | let mut buf = [0u8; 4]; [INFO] [stdout] 401 | | BigEndian::write_f32(&mut buf, val); [INFO] [stdout] 402 | | self.write_4(buf).await.map(|()| self.writer) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 406 | / pub async fn write_f64(mut self, val: f64) -> IoResult { [INFO] [stdout] 407 | | self.write_marker(Marker::F64).await?; [INFO] [stdout] 408 | | let mut buf = [0u8; 8]; [INFO] [stdout] 409 | | BigEndian::write_f64(&mut buf, val); [INFO] [stdout] 410 | | self.write_8(buf).await.map(|()| self.writer) [INFO] [stdout] 411 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 414 | / pub async fn write_array_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 415 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 416 | | [INFO] [stdout] 417 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 431 | | }) [INFO] [stdout] 432 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | / pub async fn write_map_len(mut self, len: u32) -> IoResult> { [INFO] [stdout] 436 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stdout] 437 | | [INFO] [stdout] 438 | | match len { [INFO] [stdout] ... | [INFO] [stdout] 452 | | }) [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 458 | / pub async fn write_bin_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 459 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 460 | | self.write_marker(Marker::Bin8).await?; [INFO] [stdout] 461 | | self.write_u8(len).await [INFO] [stdout] ... | [INFO] [stdout] 469 | | .map(|()| self.writer) [INFO] [stdout] 470 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 474 | / pub async fn write_bin(self, data: &[u8]) -> IoResult { [INFO] [stdout] 475 | | let mut w = self.write_bin_len(data.len().try_into().unwrap()).await?; [INFO] [stdout] 476 | | w.write_all(data).await?; [INFO] [stdout] 477 | | Ok(w) [INFO] [stdout] 478 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 483 | / pub async fn write_str_len(mut self, len: u32) -> IoResult { [INFO] [stdout] 484 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] 485 | | if len < 32 { [INFO] [stdout] 486 | | self.write_marker(Marker::FixStr(len)).await [INFO] [stdout] ... | [INFO] [stdout] 498 | | .map(|()| self.writer) [INFO] [stdout] 499 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 503 | / pub async fn write_str_bytes(self, string: &[u8]) -> IoResult { [INFO] [stdout] 504 | | let mut w = self.write_str_len(string.len().try_into().unwrap()).await?; [INFO] [stdout] 505 | | w.write_all(string).await?; [INFO] [stdout] 506 | | Ok(w) [INFO] [stdout] 507 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 511 | / pub async fn write_str(self, string: &str) -> IoResult { [INFO] [stdout] 512 | | self.write_str_bytes(string.as_bytes()).await [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 523 | / pub async fn write_ext_meta(mut self, len: u32, ty: i8) -> IoResult { [INFO] [stdout] 524 | | assert!(ty >= 0); [INFO] [stdout] 525 | | [INFO] [stdout] 526 | | if let Ok(len) = u8::try_from(len) { [INFO] [stdout] ... | [INFO] [stdout] 555 | | self.write_u8(ty as u8).await.map(|()| self.writer) [INFO] [stdout] 556 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 559 | / pub async fn write_ext(self, data: &[u8], ty: i8) -> IoResult { [INFO] [stdout] 560 | | let mut w = self [INFO] [stdout] 561 | | .write_ext_meta(data.len().try_into().unwrap(), ty) [INFO] [stdout] 562 | | .await?; [INFO] [stdout] 563 | | w.write_all(data).await?; [INFO] [stdout] 564 | | Ok(w) [INFO] [stdout] 565 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 573 | / pub async fn write_value(self, value: &Value) -> IoResult [INFO] [stdout] 574 | | where [INFO] [stdout] 575 | | W: Send, [INFO] [stdout] 576 | | { [INFO] [stdout] ... | [INFO] [stdout] 588 | | } [INFO] [stdout] 589 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/encode.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 597 | / pub async fn write_value_ref(self, value: &ValueRef<'_>) -> IoResult [INFO] [stdout] 598 | | where [INFO] [stdout] 599 | | W: Send, [INFO] [stdout] 600 | | { [INFO] [stdout] ... | [INFO] [stdout] 626 | | } [INFO] [stdout] 627 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | / pub async fn write_request( [INFO] [stdout] 39 | | self, [INFO] [stdout] 40 | | msgid: MsgId, [INFO] [stdout] 41 | | method: impl AsRef, [INFO] [stdout] ... | [INFO] [stdout] 61 | | args.write_array_len(num_args).await [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stdout] --> src/rpc/encode.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | / pub async fn write_notification( [INFO] [stdout] 110 | | self, [INFO] [stdout] 111 | | method: impl AsRef, [INFO] [stdout] 112 | | num_args: u32, [INFO] [stdout] ... | [INFO] [stdout] 124 | | args.write_array_len(num_args).await [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.08s [INFO] running `Command { std: "docker" "inspect" "65f1a33596b37f92d145fdcf395bb766748d122e99b578bdbc8fe91a448db2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f1a33596b37f92d145fdcf395bb766748d122e99b578bdbc8fe91a448db2d0", kill_on_drop: false }` [INFO] [stdout] 65f1a33596b37f92d145fdcf395bb766748d122e99b578bdbc8fe91a448db2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eea4aef9fa483f4148a8b1d0221240fdf9a1a4c741d669a68d75a9c31f50d547 [INFO] running `Command { std: "docker" "start" "-a" "eea4aef9fa483f4148a8b1d0221240fdf9a1a4c741d669a68d75a9c31f50d547", kill_on_drop: false }` [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 336 | / pub async fn write_nil(mut self) -> IoResult { [INFO] [stderr] 337 | | self.write_marker(Marker::Null).await.map(|()| self.writer) [INFO] [stderr] 338 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:340:5 [INFO] [stderr] | [INFO] [stderr] 340 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 341 | / pub async fn write_bool(mut self, val: bool) -> IoResult { [INFO] [stderr] 342 | | if val { [INFO] [stderr] 343 | | self.write_marker(Marker::True) [INFO] [stderr] 344 | | } else { [INFO] [stderr] ... | [INFO] [stderr] 348 | | .map(|()| self.writer) [INFO] [stderr] 349 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:392:5 [INFO] [stderr] | [INFO] [stderr] 392 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 393 | / pub async fn write_int(self, val: impl Into) -> IoResult { [INFO] [stderr] 394 | | self.write_efficient_int(val.into()).await [INFO] [stderr] 395 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:397:5 [INFO] [stderr] | [INFO] [stderr] 397 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 398 | / pub async fn write_f32(mut self, val: f32) -> IoResult { [INFO] [stderr] 399 | | self.write_marker(Marker::F32).await?; [INFO] [stderr] 400 | | let mut buf = [0u8; 4]; [INFO] [stderr] 401 | | BigEndian::write_f32(&mut buf, val); [INFO] [stderr] 402 | | self.write_4(buf).await.map(|()| self.writer) [INFO] [stderr] 403 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:405:5 [INFO] [stderr] | [INFO] [stderr] 405 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 406 | / pub async fn write_f64(mut self, val: f64) -> IoResult { [INFO] [stderr] 407 | | self.write_marker(Marker::F64).await?; [INFO] [stderr] 408 | | let mut buf = [0u8; 8]; [INFO] [stderr] 409 | | BigEndian::write_f64(&mut buf, val); [INFO] [stderr] 410 | | self.write_8(buf).await.map(|()| self.writer) [INFO] [stderr] 411 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:413:5 [INFO] [stderr] | [INFO] [stderr] 413 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 414 | / pub async fn write_array_len(mut self, len: u32) -> IoResult> { [INFO] [stderr] 415 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stderr] 416 | | [INFO] [stderr] 417 | | match len { [INFO] [stderr] ... | [INFO] [stderr] 431 | | }) [INFO] [stderr] 432 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:434:5 [INFO] [stderr] | [INFO] [stderr] 434 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 435 | / pub async fn write_map_len(mut self, len: u32) -> IoResult> { [INFO] [stderr] 436 | | const U16MAX: u32 = std::u16::MAX as u32; [INFO] [stderr] 437 | | [INFO] [stderr] 438 | | match len { [INFO] [stderr] ... | [INFO] [stderr] 452 | | }) [INFO] [stderr] 453 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:457:5 [INFO] [stderr] | [INFO] [stderr] 457 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 458 | / pub async fn write_bin_len(mut self, len: u32) -> IoResult { [INFO] [stderr] 459 | | if let Ok(len) = u8::try_from(len) { [INFO] [stderr] 460 | | self.write_marker(Marker::Bin8).await?; [INFO] [stderr] 461 | | self.write_u8(len).await [INFO] [stderr] ... | [INFO] [stderr] 469 | | .map(|()| self.writer) [INFO] [stderr] 470 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:473:5 [INFO] [stderr] | [INFO] [stderr] 473 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 474 | / pub async fn write_bin(self, data: &[u8]) -> IoResult { [INFO] [stderr] 475 | | let mut w = self.write_bin_len(data.len().try_into().unwrap()).await?; [INFO] [stderr] 476 | | w.write_all(data).await?; [INFO] [stderr] 477 | | Ok(w) [INFO] [stderr] 478 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:482:5 [INFO] [stderr] | [INFO] [stderr] 482 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 483 | / pub async fn write_str_len(mut self, len: u32) -> IoResult { [INFO] [stderr] 484 | | if let Ok(len) = u8::try_from(len) { [INFO] [stderr] 485 | | if len < 32 { [INFO] [stderr] 486 | | self.write_marker(Marker::FixStr(len)).await [INFO] [stderr] ... | [INFO] [stderr] 498 | | .map(|()| self.writer) [INFO] [stderr] 499 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:502:5 [INFO] [stderr] | [INFO] [stderr] 502 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 503 | / pub async fn write_str_bytes(self, string: &[u8]) -> IoResult { [INFO] [stderr] 504 | | let mut w = self.write_str_len(string.len().try_into().unwrap()).await?; [INFO] [stderr] 505 | | w.write_all(string).await?; [INFO] [stderr] 506 | | Ok(w) [INFO] [stderr] 507 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:510:5 [INFO] [stderr] | [INFO] [stderr] 510 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 511 | / pub async fn write_str(self, string: &str) -> IoResult { [INFO] [stderr] 512 | | self.write_str_bytes(string.as_bytes()).await [INFO] [stderr] 513 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:522:5 [INFO] [stderr] | [INFO] [stderr] 522 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 523 | / pub async fn write_ext_meta(mut self, len: u32, ty: i8) -> IoResult { [INFO] [stderr] 524 | | assert!(ty >= 0); [INFO] [stderr] 525 | | [INFO] [stderr] 526 | | if let Ok(len) = u8::try_from(len) { [INFO] [stderr] ... | [INFO] [stderr] 555 | | self.write_u8(ty as u8).await.map(|()| self.writer) [INFO] [stderr] 556 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:558:5 [INFO] [stderr] | [INFO] [stderr] 558 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 559 | / pub async fn write_ext(self, data: &[u8], ty: i8) -> IoResult { [INFO] [stderr] 560 | | let mut w = self [INFO] [stderr] 561 | | .write_ext_meta(data.len().try_into().unwrap(), ty) [INFO] [stderr] 562 | | .await?; [INFO] [stderr] 563 | | w.write_all(data).await?; [INFO] [stderr] 564 | | Ok(w) [INFO] [stderr] 565 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:572:5 [INFO] [stderr] | [INFO] [stderr] 572 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 573 | / pub async fn write_value(self, value: &Value) -> IoResult [INFO] [stderr] 574 | | where [INFO] [stderr] 575 | | W: Send, [INFO] [stderr] 576 | | { [INFO] [stderr] ... | [INFO] [stderr] 588 | | } [INFO] [stderr] 589 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/encode.rs:596:5 [INFO] [stderr] | [INFO] [stderr] 596 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 597 | / pub async fn write_value_ref(self, value: &ValueRef<'_>) -> IoResult [INFO] [stderr] 598 | | where [INFO] [stderr] 599 | | W: Send, [INFO] [stderr] 600 | | { [INFO] [stderr] ... | [INFO] [stderr] 626 | | } [INFO] [stderr] 627 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/rpc/encode.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 38 | / pub async fn write_request( [INFO] [stderr] 39 | | self, [INFO] [stderr] 40 | | msgid: MsgId, [INFO] [stderr] 41 | | method: impl AsRef, [INFO] [stderr] ... | [INFO] [stderr] 61 | | args.write_array_len(num_args).await [INFO] [stderr] 62 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within [INFO] [stderr] --> src/rpc/encode.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | #[must_use = "dropping the writer may leave the message unfinished"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 109 | / pub async fn write_notification( [INFO] [stderr] 110 | | self, [INFO] [stderr] 111 | | method: impl AsRef, [INFO] [stderr] 112 | | num_args: u32, [INFO] [stderr] ... | [INFO] [stderr] 124 | | args.write_array_len(num_args).await [INFO] [stderr] 125 | | } [INFO] [stderr] | |_____- this attribute does nothing, the `Future`s returned by async functions are already `must_use` [INFO] [stderr] [INFO] [stderr] warning: `rmp-futures` (lib) generated 18 warnings [INFO] [stderr] warning: `rmp-futures` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rmp_futures-9892941b77131d03) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test decode::test::bool ... ok [INFO] [stdout] test decode::test::ext ... ok [INFO] [stdout] test decode::test::bin ... ok [INFO] [stdout] test decode::test::f64 ... ok [INFO] [stdout] test decode::test::f32 ... ok [INFO] [stdout] test decode::test::array_int ... ok [INFO] [stdout] test decode::test::string ... ok [INFO] [stdout] test decode::test::map_int ... ok [INFO] [stdout] test encode::efficient_i32 ... ok [INFO] [stdout] test encode::efficient_i16 ... ok [INFO] [stdout] test encode::efficient_i64 ... ok [INFO] [stdout] test encode::efficient_i8 ... ok [INFO] [stdout] test encode::efficient_u32 ... ok [INFO] [stdout] test encode::efficient_u16 ... ok [INFO] [stdout] test encode::efficient_u64 ... ok [INFO] [stdout] test encode::efficient_u8 ... ok [INFO] [stdout] test encode::tests::array ... ok [INFO] [stdout] test encode::tests::array_len ... ok [INFO] [stdout] test encode::tests::bool ... ok [INFO] [stdout] test encode::tests::bin ... ok [INFO] [stdout] test encode::tests::ext ... ok [INFO] [stdout] test encode::tests::map ... ok [INFO] [stdout] test encode::tests::float ... ok [INFO] [stdout] test encode::tests::map_len ... ok [INFO] [stdout] test encode::tests::efficient_int ... ok [INFO] [stdout] test encode::tests::string ... ok [INFO] [stdout] test encode::tests::nil ... ok [INFO] [stdout] test rpc::encode::write_err_response ... ok [INFO] [stdout] test rpc::encode::write_ok_response ... ok [INFO] [stdout] test encode::tests::efficient_uint ... ok [INFO] [stdout] test rpc::decode::test::decode_request ... ok [INFO] [stdout] test rpc::encode::write_request_response ... ok [INFO] [stdout] test rpc::shared_writer::shared_sink ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rmp-futures [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eea4aef9fa483f4148a8b1d0221240fdf9a1a4c741d669a68d75a9c31f50d547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea4aef9fa483f4148a8b1d0221240fdf9a1a4c741d669a68d75a9c31f50d547", kill_on_drop: false }` [INFO] [stdout] eea4aef9fa483f4148a8b1d0221240fdf9a1a4c741d669a68d75a9c31f50d547