[INFO] cloning repository https://github.com/idkidknow/stream-ws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idkidknow/stream-ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidkidknow%2Fstream-ws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidkidknow%2Fstream-ws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 514b9ed70378fb30bee0e73d559b3cc991345404 [INFO] testing idkidknow/stream-ws against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidkidknow%2Fstream-ws" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/idkidknow/stream-ws [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/idkidknow/stream-ws [INFO] tweaked toml for git repo https://github.com/idkidknow/stream-ws written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/idkidknow/stream-ws on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/idkidknow/stream-ws 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-net v0.4.0 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f06d3aa2e69a2feaa5aee5174bdd4ef305211f998832daaa0051ce94d35cb05 [INFO] running `Command { std: "docker" "start" "-a" "7f06d3aa2e69a2feaa5aee5174bdd4ef305211f998832daaa0051ce94d35cb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f06d3aa2e69a2feaa5aee5174bdd4ef305211f998832daaa0051ce94d35cb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f06d3aa2e69a2feaa5aee5174bdd4ef305211f998832daaa0051ce94d35cb05", kill_on_drop: false }` [INFO] [stdout] 7f06d3aa2e69a2feaa5aee5174bdd4ef305211f998832daaa0051ce94d35cb05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67549bb13b8302b65d284a7764bd020198add901be48e99ac82b9c54fff79189 [INFO] running `Command { std: "docker" "start" "-a" "67549bb13b8302b65d284a7764bd020198add901be48e99ac82b9c54fff79189", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [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 memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.28 [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 10.24s [INFO] running `Command { std: "docker" "inspect" "67549bb13b8302b65d284a7764bd020198add901be48e99ac82b9c54fff79189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67549bb13b8302b65d284a7764bd020198add901be48e99ac82b9c54fff79189", kill_on_drop: false }` [INFO] [stdout] 67549bb13b8302b65d284a7764bd020198add901be48e99ac82b9c54fff79189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8f097621e466bd073a8f7cc5ffa5b67a0dc1bbae444656d4166b28816f2c41c [INFO] running `Command { std: "docker" "start" "-a" "a8f097621e466bd073a8f7cc5ffa5b67a0dc1bbae444656d4166b28816f2c41c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [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 parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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.30s [INFO] running `Command { std: "docker" "inspect" "a8f097621e466bd073a8f7cc5ffa5b67a0dc1bbae444656d4166b28816f2c41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f097621e466bd073a8f7cc5ffa5b67a0dc1bbae444656d4166b28816f2c41c", kill_on_drop: false }` [INFO] [stdout] a8f097621e466bd073a8f7cc5ffa5b67a0dc1bbae444656d4166b28816f2c41c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce35c73c82252af86dd277a864eb8d028e329e0e06285ac6db7bde63631ccce5 [INFO] running `Command { std: "docker" "start" "-a" "ce35c73c82252af86dd277a864eb8d028e329e0e06285ac6db7bde63631ccce5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ce35c73c82252af86dd277a864eb8d028e329e0e06285ac6db7bde63631ccce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce35c73c82252af86dd277a864eb8d028e329e0e06285ac6db7bde63631ccce5", kill_on_drop: false }` [INFO] [stdout] ce35c73c82252af86dd277a864eb8d028e329e0e06285ac6db7bde63631ccce5