[INFO] fetching crate ws-test 0.11.2... [INFO] testing ws-test-0.11.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate ws-test 0.11.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ws-test 0.11.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ws-test 0.11.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ws-test 0.11.2 [INFO] tweaked toml for crates.io crate ws-test 0.11.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate ws-test 0.11.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a2eec738f23bc62a3b6d22d9562f84733ec89b911daab6e8179615e0b327594 [INFO] running `Command { std: "docker" "start" "-a" "6a2eec738f23bc62a3b6d22d9562f84733ec89b911daab6e8179615e0b327594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a2eec738f23bc62a3b6d22d9562f84733ec89b911daab6e8179615e0b327594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a2eec738f23bc62a3b6d22d9562f84733ec89b911daab6e8179615e0b327594", kill_on_drop: false }` [INFO] [stdout] 6a2eec738f23bc62a3b6d22d9562f84733ec89b911daab6e8179615e0b327594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9117eab20faa8e965210560116b79e819a202e411c6e0aad05916291d995af8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9117eab20faa8e965210560116b79e819a202e411c6e0aad05916291d995af8", kill_on_drop: false }` [INFO] [stderr] Compiling ws-test v0.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "d9117eab20faa8e965210560116b79e819a202e411c6e0aad05916291d995af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9117eab20faa8e965210560116b79e819a202e411c6e0aad05916291d995af8", kill_on_drop: false }` [INFO] [stdout] d9117eab20faa8e965210560116b79e819a202e411c6e0aad05916291d995af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 935a040daca393906e1dd7b9e3ce50c2550e1b3d2f24140a6532d3f81fe907b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "935a040daca393906e1dd7b9e3ce50c2550e1b3d2f24140a6532d3f81fe907b7", kill_on_drop: false }` [INFO] [stderr] Compiling ws-test v0.11.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> tests/no_send_after_close.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tungstenite::{accept, connect, Error, Message}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tungstenite` [INFO] [stdout] --> examples/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tungstenite::handshake::server::{Request, Response}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::accept_hdr; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tungstenite` [INFO] [stdout] --> examples/callback-error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tungstenite::handshake::server::{Request, Response}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tungstenite` [INFO] [stdout] --> examples/callback-error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tungstenite::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/callback-error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::accept_hdr; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tungstenite` [INFO] [stdout] --> tests/connection_reset.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tungstenite::extensions::uncompressed::UncompressedExt; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/server.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | let callback = |req: &Request, mut response: Response| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use httparse::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::client::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::server::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> examples/server.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | let callback = |req: &Request, mut response: Response| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use httparse::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::client::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::server::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> tests/receive_after_init_close.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tungstenite::{accept, connect, Error, Message}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tungstenite` [INFO] [stdout] --> tests/connection_reset.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tungstenite::{accept, connect, stream::Stream, Error, Message, WebSocket}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/callback-error.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | .status(StatusCode::FORBIDDEN) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> tests/connection_reset.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tungstenite::{accept, connect, stream::Stream, Error, Message, WebSocket}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tungstenite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/callback-error.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let callback = |_req: &Request, _resp| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use httparse::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::client::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::server::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/callback-error.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let resp = Response::builder() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use httparse::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::client::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use ws_test::handshake::server::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-test` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stream` in this scope [INFO] [stdout] --> tests/connection_reset.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | type Sock = WebSocket>, Ext>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 4 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 4 | use ws_test::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UncompressedExt` in this scope [INFO] [stdout] --> tests/connection_reset.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | CT: FnOnce(Sock) + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use ws_test::extensions::uncompressed::UncompressedExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UncompressedExt` in this scope [INFO] [stdout] --> tests/connection_reset.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | ST: FnOnce(WebSocket), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use ws_test::extensions::uncompressed::UncompressedExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connection_reset.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | |mut cli_sock| { [INFO] [stdout] | ^^^^^^^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connection_reset.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | |mut cli_sock| { [INFO] [stdout] | ^^^^^^^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connection_reset.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | |mut cli_sock| { [INFO] [stdout] | ^^^^^^^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net2::TcpStreamExt` [INFO] [stdout] --> tests/connection_reset.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use net2::TcpStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "935a040daca393906e1dd7b9e3ce50c2550e1b3d2f24140a6532d3f81fe907b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935a040daca393906e1dd7b9e3ce50c2550e1b3d2f24140a6532d3f81fe907b7", kill_on_drop: false }` [INFO] [stdout] 935a040daca393906e1dd7b9e3ce50c2550e1b3d2f24140a6532d3f81fe907b7