[INFO] fetching crate wasm-streams 0.4.0... [INFO] checking wasm-streams-0.4.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate wasm-streams 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate wasm-streams 0.4.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.37 [INFO] [stderr] Downloaded tokio-macros v1.2.0 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b66d5884a6f38d8681b9012492bbc8bc4044ca0c5c846c5546553d3419842359 [INFO] running `Command { std: "docker" "start" "-a" "b66d5884a6f38d8681b9012492bbc8bc4044ca0c5c846c5546553d3419842359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b66d5884a6f38d8681b9012492bbc8bc4044ca0c5c846c5546553d3419842359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66d5884a6f38d8681b9012492bbc8bc4044ca0c5c846c5546553d3419842359", kill_on_drop: false }` [INFO] [stdout] b66d5884a6f38d8681b9012492bbc8bc4044ca0c5c846c5546553d3419842359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489d28be7088ab86fd3aba5837d73383bd49a4925b3695502fc14fca2273a817 [INFO] running `Command { std: "docker" "start" "-a" "489d28be7088ab86fd3aba5837d73383bd49a4925b3695502fc14fca2273a817", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [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 syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [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 wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking pin-project v1.1.3 [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: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 7 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/into_async_read.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 9 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 7 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/into_async_read.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 9 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] warning: 16 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] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> examples/fetch_as_stream.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "489d28be7088ab86fd3aba5837d73383bd49a4925b3695502fc14fca2273a817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489d28be7088ab86fd3aba5837d73383bd49a4925b3695502fc14fca2273a817", kill_on_drop: false }` [INFO] [stdout] 489d28be7088ab86fd3aba5837d73383bd49a4925b3695502fc14fca2273a817 [INFO] checking wasm-streams-0.4.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate wasm-streams 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate wasm-streams 0.4.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a37d914baa204234df1999cc023760e645a01ae22645cb77f541b652fb102d5 [INFO] running `Command { std: "docker" "start" "-a" "1a37d914baa204234df1999cc023760e645a01ae22645cb77f541b652fb102d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a37d914baa204234df1999cc023760e645a01ae22645cb77f541b652fb102d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a37d914baa204234df1999cc023760e645a01ae22645cb77f541b652fb102d5", kill_on_drop: false }` [INFO] [stdout] 1a37d914baa204234df1999cc023760e645a01ae22645cb77f541b652fb102d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b97339dbd7f9304236c22fef3400ade573d6e142d4898254245ca5537a5c80 [INFO] running `Command { std: "docker" "start" "-a" "94b97339dbd7f9304236c22fef3400ade573d6e142d4898254245ca5537a5c80", 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 futures-task v0.3.28 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.28 [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] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking pin-project v1.1.3 [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: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 7 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/into_async_read.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 9 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 7 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/readable/into_async_read.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 9 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] warning: 16 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] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> examples/fetch_as_stream.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "94b97339dbd7f9304236c22fef3400ade573d6e142d4898254245ca5537a5c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b97339dbd7f9304236c22fef3400ade573d6e142d4898254245ca5537a5c80", kill_on_drop: false }` [INFO] [stdout] 94b97339dbd7f9304236c22fef3400ade573d6e142d4898254245ca5537a5c80