[INFO] fetching crate wasm-streams 0.4.0... [INFO] checking wasm-streams-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wasm-streams 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasm-streams 0.4.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate wasm-streams 0.4.0 [INFO] finished tweaking crates.io crate wasm-streams 0.4.0 [INFO] tweaked toml for crates.io crate wasm-streams 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate wasm-streams 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac14cc7f5d90c9f7a074ecee040c8f9d0b4425c3e965e77385f8ede0827f3b3e [INFO] running `Command { std: "docker" "start" "-a" "ac14cc7f5d90c9f7a074ecee040c8f9d0b4425c3e965e77385f8ede0827f3b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac14cc7f5d90c9f7a074ecee040c8f9d0b4425c3e965e77385f8ede0827f3b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac14cc7f5d90c9f7a074ecee040c8f9d0b4425c3e965e77385f8ede0827f3b3e", kill_on_drop: false }` [INFO] [stdout] ac14cc7f5d90c9f7a074ecee040c8f9d0b4425c3e965e77385f8ede0827f3b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 398ed5988573fa687d963a8fd7459125785cfac32f2b502ef8ca02abcf2aad21 [INFO] running `Command { std: "docker" "start" "-a" "398ed5988573fa687d963a8fd7459125785cfac32f2b502ef8ca02abcf2aad21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-test v0.3.37 [INFO] [stderr] Checking wasm-streams v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/queuing_strategy/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/readable/byob_reader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 110 | buffer: Uint8Array, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let view = buffer.subarray(0, dst_len).unchecked_into::(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/readable/byob_reader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 110 | buffer: Uint8Array, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let view = buffer.subarray(0, dst_len).unchecked_into::(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner`, `default_buffer_len`, and `controller` are never read [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct IntoUnderlyingByteSource { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 17 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | default_buffer_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_`, `auto_allocate_chunk_size`, `start`, `pull`, and `cancel` are never used [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl IntoUnderlyingByteSource { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 37 | #[wasm_bindgen(getter, js_name = type)] [INFO] [stdout] 38 | pub fn type_(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn auto_allocate_chunk_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn start(&mut self, controller: sys::ReadableByteStreamController) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn pull(&mut self, controller: sys::ReadableByteStreamController) -> Promise { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn cancel(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `async_read` and `buffer` are never read [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 85 | async_read: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 86 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pull` and `discard` are never used [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 89 | impl Inner { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | async fn pull( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn discard(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/readable/into_underlying_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct IntoUnderlyingSource { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 17 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pull` and `cancel` are never used [INFO] [stdout] --> src/readable/into_underlying_source.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IntoUnderlyingSource { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 33 | pub fn pull(&mut self, controller: sys::ReadableStreamDefaultController) -> Promise { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cancel(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/readable/into_underlying_source.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 67 | stream: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pull` is never used [INFO] [stdout] --> src/readable/into_underlying_source.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 70 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | async fn pull( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp_to_usize` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn clamp_to_usize(value: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_cast_to_u32` is never used [INFO] [stdout] --> src/util.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn checked_cast_to_u32(value: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/writable/into_underlying_sink.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct IntoUnderlyingSink { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 12 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `close`, and `abort` are never used [INFO] [stdout] --> src/writable/into_underlying_sink.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl IntoUnderlyingSink { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 26 | pub fn write(&mut self, chunk: JsValue) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn close(self) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn abort(self, reason: JsValue) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sink` is never read [INFO] [stdout] --> src/writable/into_underlying_sink.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 52 | sink: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `close`, and `abort` are never used [INFO] [stdout] --> src/writable/into_underlying_sink.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 55 | impl Inner { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | async fn write(&mut self, chunk: JsValue) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn close(&mut self) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn abort(&mut self, _reason: JsValue) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner`, `default_buffer_len`, and `controller` are never read [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct IntoUnderlyingByteSource { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 17 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | default_buffer_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_`, `auto_allocate_chunk_size`, `start`, `pull`, and `cancel` are never used [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl IntoUnderlyingByteSource { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 37 | #[wasm_bindgen(getter, js_name = type)] [INFO] [stdout] 38 | pub fn type_(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn auto_allocate_chunk_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn start(&mut self, controller: sys::ReadableByteStreamController) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn pull(&mut self, controller: sys::ReadableByteStreamController) -> Promise { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn cancel(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `async_read` and `buffer` are never read [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 85 | async_read: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 86 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pull` and `discard` are never used [INFO] [stdout] --> src/readable/into_underlying_byte_source.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 89 | impl Inner { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | async fn pull( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn discard(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/readable/into_underlying_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct IntoUnderlyingSource { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 17 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pull` and `cancel` are never used [INFO] [stdout] --> src/readable/into_underlying_source.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IntoUnderlyingSource { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 33 | pub fn pull(&mut self, controller: sys::ReadableStreamDefaultController) -> Promise { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cancel(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/readable/into_underlying_source.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 67 | stream: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pull` is never used [INFO] [stdout] --> src/readable/into_underlying_source.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 70 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | async fn pull( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp_to_usize` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn clamp_to_usize(value: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_cast_to_u32` is never used [INFO] [stdout] --> src/util.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn checked_cast_to_u32(value: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/writable/into_underlying_sink.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct IntoUnderlyingSink { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 12 | inner: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `close`, and `abort` are never used [INFO] [stdout] --> src/writable/into_underlying_sink.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl IntoUnderlyingSink { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 26 | pub fn write(&mut self, chunk: JsValue) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn close(self) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn abort(self, reason: JsValue) -> Promise { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sink` is never read [INFO] [stdout] --> src/writable/into_underlying_sink.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 52 | sink: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `close`, and `abort` are never used [INFO] [stdout] --> src/writable/into_underlying_sink.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 55 | impl Inner { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | async fn write(&mut self, chunk: JsValue) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn close(&mut self) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn abort(&mut self, _reason: JsValue) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-streams` (lib test) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-streams` (lib) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "398ed5988573fa687d963a8fd7459125785cfac32f2b502ef8ca02abcf2aad21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398ed5988573fa687d963a8fd7459125785cfac32f2b502ef8ca02abcf2aad21", kill_on_drop: false }` [INFO] [stdout] 398ed5988573fa687d963a8fd7459125785cfac32f2b502ef8ca02abcf2aad21