[INFO] fetching crate ws 0.9.2... [INFO] checking ws-0.9.2 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate ws 0.9.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ws 0.9.2 [INFO] finished tweaking crates.io crate ws 0.9.2 [INFO] tweaked toml for crates.io crate ws 0.9.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ws 0.9.2 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ws 0.9.2 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded bytes v0.4.10 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded libz-sys v1.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d87c1cebee4f171c53a37776a72c719333373cbcfd8ee1bd6e889b806cf0319 [INFO] running `Command { std: "docker" "start" "-a" "8d87c1cebee4f171c53a37776a72c719333373cbcfd8ee1bd6e889b806cf0319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d87c1cebee4f171c53a37776a72c719333373cbcfd8ee1bd6e889b806cf0319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d87c1cebee4f171c53a37776a72c719333373cbcfd8ee1bd6e889b806cf0319", kill_on_drop: false }` [INFO] [stdout] 8d87c1cebee4f171c53a37776a72c719333373cbcfd8ee1bd6e889b806cf0319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a4a737a3c5719965adfde632449092b6938fd5a86020e4f58987473d86c7c44 [INFO] running `Command { std: "docker" "start" "-a" "9a4a737a3c5719965adfde632449092b6938fd5a86020e4f58987473d86c7c44", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking ws v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stdout] --> src/io.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native_tls")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, and `ssl` [INFO] [stdout] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/html_chat.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] 43 + fn on_request(&mut self, req: &Request) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 13 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 82 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/router.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | inner: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stdout] --> src/io.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native_tls")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, and `ssl` [INFO] [stdout] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/factory.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | factory.connection_made(Sender::new(mio::Token(0), chn, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.58s [INFO] running `Command { std: "docker" "inspect" "9a4a737a3c5719965adfde632449092b6938fd5a86020e4f58987473d86c7c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4a737a3c5719965adfde632449092b6938fd5a86020e4f58987473d86c7c44", kill_on_drop: false }` [INFO] [stdout] 9a4a737a3c5719965adfde632449092b6938fd5a86020e4f58987473d86c7c44