[INFO] fetching crate ws 0.9.2... [INFO] building ws-0.9.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ws 0.9.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ws 0.9.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 redox_syscall v0.1.40 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded httparse v1.3.3 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded bytes v0.4.10 [INFO] [stderr] Downloaded mio-extras v2.0.5 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded mio v0.6.16 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded iovec v0.1.2 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded libz-sys v1.0.24 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb834f4ae0f1f80cb540091dd8c0a6bc4fedfed2516cede46f7d3e1c6a035822 [INFO] running `Command { std: "docker" "start" "-a" "fb834f4ae0f1f80cb540091dd8c0a6bc4fedfed2516cede46f7d3e1c6a035822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb834f4ae0f1f80cb540091dd8c0a6bc4fedfed2516cede46f7d3e1c6a035822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb834f4ae0f1f80cb540091dd8c0a6bc4fedfed2516cede46f7d3e1c6a035822", kill_on_drop: false }` [INFO] [stdout] fb834f4ae0f1f80cb540091dd8c0a6bc4fedfed2516cede46f7d3e1c6a035822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2643f5574bdf6bf63e97b9aefb7e5f7b02529429fc2d27385ad9c8e16a4442 [INFO] running `Command { std: "docker" "start" "-a" "1e2643f5574bdf6bf63e97b9aefb7e5f7b02529429fc2d27385ad9c8e16a4442", 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] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling 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: `"nativetls"` [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "1e2643f5574bdf6bf63e97b9aefb7e5f7b02529429fc2d27385ad9c8e16a4442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2643f5574bdf6bf63e97b9aefb7e5f7b02529429fc2d27385ad9c8e16a4442", kill_on_drop: false }` [INFO] [stdout] 1e2643f5574bdf6bf63e97b9aefb7e5f7b02529429fc2d27385ad9c8e16a4442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad77717f3f93d84ad6d72185bb4eccc69c0bab6caffbb70a99634e368870778b [INFO] running `Command { std: "docker" "start" "-a" "ad77717f3f93d84ad6d72185bb4eccc69c0bab6caffbb70a99634e368870778b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling term v0.5.1 [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: `"nativetls"` [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] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ws v0.9.2 (/opt/rustwide/workdir) [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: `"nativetls"` [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 `test` profile [unoptimized + debuginfo] target(s) in 11.95s [INFO] running `Command { std: "docker" "inspect" "ad77717f3f93d84ad6d72185bb4eccc69c0bab6caffbb70a99634e368870778b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad77717f3f93d84ad6d72185bb4eccc69c0bab6caffbb70a99634e368870778b", kill_on_drop: false }` [INFO] [stdout] ad77717f3f93d84ad6d72185bb4eccc69c0bab6caffbb70a99634e368870778b