[INFO] fetching crate stream-ws 0.1.1... [INFO] testing stream-ws-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate stream-ws 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate stream-ws 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate stream-ws 0.1.1 [INFO] tweaked toml for crates.io crate stream-ws 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stream-ws 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stream-ws 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded serde_derive v1.0.188 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded futures v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded serde v1.0.188 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded data-encoding v2.4.0 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb6498378f64fe804f50a1de8f848dbb88df0350046b85766e47cfac18ecf49 [INFO] running `Command { std: "docker" "start" "-a" "ddb6498378f64fe804f50a1de8f848dbb88df0350046b85766e47cfac18ecf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb6498378f64fe804f50a1de8f848dbb88df0350046b85766e47cfac18ecf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb6498378f64fe804f50a1de8f848dbb88df0350046b85766e47cfac18ecf49", kill_on_drop: false }` [INFO] [stdout] ddb6498378f64fe804f50a1de8f848dbb88df0350046b85766e47cfac18ecf49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02e425b0db5161a115093317df71cba9d16febb5d951431ee8cd8c00dd5bd032 [INFO] running `Command { std: "docker" "start" "-a" "02e425b0db5161a115093317df71cba9d16febb5d951431ee8cd8c00dd5bd032", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling stream-ws v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.40s [INFO] running `Command { std: "docker" "inspect" "02e425b0db5161a115093317df71cba9d16febb5d951431ee8cd8c00dd5bd032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e425b0db5161a115093317df71cba9d16febb5d951431ee8cd8c00dd5bd032", kill_on_drop: false }` [INFO] [stdout] 02e425b0db5161a115093317df71cba9d16febb5d951431ee8cd8c00dd5bd032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44c3ff4677a9b6552b03e27c5cbdffa17f71ed11c98fdf69fc8078c6f813d494 [INFO] running `Command { std: "docker" "start" "-a" "44c3ff4677a9b6552b03e27c5cbdffa17f71ed11c98fdf69fc8078c6f813d494", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling stream-ws v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.00s [INFO] running `Command { std: "docker" "inspect" "44c3ff4677a9b6552b03e27c5cbdffa17f71ed11c98fdf69fc8078c6f813d494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c3ff4677a9b6552b03e27c5cbdffa17f71ed11c98fdf69fc8078c6f813d494", kill_on_drop: false }` [INFO] [stdout] 44c3ff4677a9b6552b03e27c5cbdffa17f71ed11c98fdf69fc8078c6f813d494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84e672679cb4e70797f2e70b1144225036c65de5e45abe7b026ed1142ce78dbb [INFO] running `Command { std: "docker" "start" "-a" "84e672679cb4e70797f2e70b1144225036c65de5e45abe7b026ed1142ce78dbb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stream_ws-a2c61fa8cf31009f) [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] [stderr] Doc-tests stream_ws [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 1 | Stream> + Sink + Unpin [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::gloo::WsByteStream::new(inner) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } _doctest_main_src_lib_rs_33_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gloo` in `stream_ws` [INFO] [stdout] --> src/lib.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::gloo::WsByteStream::new(inner) [INFO] [stdout] | ^^^^ could not find `gloo` in `stream_ws` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "gloo")] [INFO] [stdout] | ---------------- the item is gated behind the `gloo` feature [INFO] [stdout] 60 | #[cfg_attr(docsrs, doc(cfg(feature = "gloo")))] [INFO] [stdout] 61 | pub mod gloo; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stream_ws::WsByteStream; [INFO] [stdout] | [INFO] [stdout] help: if you import `WsByteStream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let stream = stream_ws::gloo::WsByteStream::new(inner) [INFO] [stdout] 5 + let stream = WsByteStream::new(inner) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/lib.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::gloo::WsByteStream::new(inner) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::tungstenite::WsByteStream::new(inner) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } _doctest_main_src_lib_rs_23_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tungstenite` in `stream_ws` [INFO] [stdout] --> src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::tungstenite::WsByteStream::new(inner) [INFO] [stdout] | ^^^^^^^^^^^ could not find `tungstenite` in `stream_ws` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "tungstenite")] [INFO] [stdout] | ----------------------- the item is gated behind the `tungstenite` feature [INFO] [stdout] 63 | #[cfg_attr(docsrs, doc(cfg(feature = "tungstenite")))] [INFO] [stdout] 64 | pub mod tungstenite; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use stream_ws::WsByteStream; [INFO] [stdout] | [INFO] [stdout] help: if you import `WsByteStream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let stream = stream_ws::tungstenite::WsByteStream::new(inner) [INFO] [stdout] 5 + let stream = WsByteStream::new(inner) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = stream_ws::tungstenite::WsByteStream::new(inner) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "84e672679cb4e70797f2e70b1144225036c65de5e45abe7b026ed1142ce78dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e672679cb4e70797f2e70b1144225036c65de5e45abe7b026ed1142ce78dbb", kill_on_drop: false }` [INFO] [stdout] 84e672679cb4e70797f2e70b1144225036c65de5e45abe7b026ed1142ce78dbb