[INFO] fetching crate wstt 0.11.2... [INFO] checking wstt-0.11.2 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate wstt 0.11.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate wstt 0.11.2 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wstt 0.11.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wstt 0.11.2 [INFO] tweaked toml for crates.io crate wstt 0.11.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate wstt 0.11.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01eadb514d83516ab4dd13b9f4e4d95f46bc136a5a5861623ae84d0309d39357 [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" "01eadb514d83516ab4dd13b9f4e4d95f46bc136a5a5861623ae84d0309d39357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01eadb514d83516ab4dd13b9f4e4d95f46bc136a5a5861623ae84d0309d39357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01eadb514d83516ab4dd13b9f4e4d95f46bc136a5a5861623ae84d0309d39357", kill_on_drop: false }` [INFO] [stdout] 01eadb514d83516ab4dd13b9f4e4d95f46bc136a5a5861623ae84d0309d39357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3951bad5661e279fc8c52789e8e27b916360bdc378df7a080870b02498e79014 [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" "3951bad5661e279fc8c52789e8e27b916360bdc378df7a080870b02498e79014", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking wstt v0.11.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `incomplete` [INFO] [stdout] --> src/protocol/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | incomplete: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `incomplete` [INFO] [stdout] --> src/protocol/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | incomplete: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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[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] --> 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[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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wstt` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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[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 wstt::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 wstt::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 wstt::extensions::uncompressed::UncompressedExt; [INFO] [stdout] | [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 wstt::handshake::client::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use wstt::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 wstt::handshake::client::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use wstt::handshake::server::Response; [INFO] [stdout] | [INFO] [stdout] [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[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[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 wstt::handshake::client::Request; [INFO] [stdout] | [INFO] [stdout] 1 | use wstt::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 wstt::handshake::client::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use wstt::handshake::server::Response; [INFO] [stdout] | [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 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: 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" "3951bad5661e279fc8c52789e8e27b916360bdc378df7a080870b02498e79014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3951bad5661e279fc8c52789e8e27b916360bdc378df7a080870b02498e79014", kill_on_drop: false }` [INFO] [stdout] 3951bad5661e279fc8c52789e8e27b916360bdc378df7a080870b02498e79014