[INFO] fetching crate ws 0.9.2... [INFO] testing ws-0.9.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] extracting crate ws 0.9.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ws 0.9.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded libz-sys v1.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 790f1110e0517d800c6d6d4b23e02946a3b63979b606606052cfc80a3459cd12 [INFO] running `Command { std: "docker" "start" "-a" "790f1110e0517d800c6d6d4b23e02946a3b63979b606606052cfc80a3459cd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "790f1110e0517d800c6d6d4b23e02946a3b63979b606606052cfc80a3459cd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790f1110e0517d800c6d6d4b23e02946a3b63979b606606052cfc80a3459cd12", kill_on_drop: false }` [INFO] [stdout] 790f1110e0517d800c6d6d4b23e02946a3b63979b606606052cfc80a3459cd12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a55234b786d0ccea9ccb4b5182f3ded9a4dd8f0f396dc94bc9a20e5c2de9f5b [INFO] running `Command { std: "docker" "start" "-a" "7a55234b786d0ccea9ccb4b5182f3ded9a4dd8f0f396dc94bc9a20e5c2de9f5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling iovec v0.1.2 [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 generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [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 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: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "7a55234b786d0ccea9ccb4b5182f3ded9a4dd8f0f396dc94bc9a20e5c2de9f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a55234b786d0ccea9ccb4b5182f3ded9a4dd8f0f396dc94bc9a20e5c2de9f5b", kill_on_drop: false }` [INFO] [stdout] 7a55234b786d0ccea9ccb4b5182f3ded9a4dd8f0f396dc94bc9a20e5c2de9f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e0419344884e69e7211d2ae24a5a7a3543448f32877d80ba4b1ee88f0d4f047 [INFO] running `Command { std: "docker" "start" "-a" "8e0419344884e69e7211d2ae24a5a7a3543448f32877d80ba4b1ee88f0d4f047", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [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 bitflags v1.3.2 [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: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [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)]` 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: 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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws` (example "channel") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/bin/rustc --crate-name channel --edition=2015 examples/channel.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "libc", "libz-sys", "native-tls", "nativetls", "openssl", "permessage-deflate", "ssl"))' -C metadata=8f8912115a50d29f -C extra-filename=-8f8912115a50d29f --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-5b3601431af488a2.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-027182c3f5747280.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05f3ced711e26943.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-2f7b455decf1395f.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-d3f12d6bd08258a3.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4394fd2ed51649a8.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-293a1e74b661e9fa.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-94a34c9ff559c4ac.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-90f01dff22886771.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-a24287b5723697ab.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-b6e0e8264e5ec2f6.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-b72ff9a8e7cf8dd4.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-6049ecd6f399884f.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-15e7f6459d44a824.rlib --extern ws=/opt/rustwide/target/debug/deps/libws-89efcdbb17a1c8ca.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ws` (lib test); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/bin/rustc --crate-name ws --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "libc", "libz-sys", "native-tls", "nativetls", "openssl", "permessage-deflate", "ssl"))' -C metadata=2946c8919b4c51ad -C extra-filename=-2946c8919b4c51ad --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-5b3601431af488a2.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-027182c3f5747280.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05f3ced711e26943.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-2f7b455decf1395f.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-d3f12d6bd08258a3.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4394fd2ed51649a8.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-293a1e74b661e9fa.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-94a34c9ff559c4ac.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-90f01dff22886771.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-a24287b5723697ab.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-b6e0e8264e5ec2f6.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-b72ff9a8e7cf8dd4.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-6049ecd6f399884f.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-15e7f6459d44a824.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `ws` (example "cli") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/bin/rustc --crate-name cli --edition=2015 examples/cli.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "libc", "libz-sys", "native-tls", "nativetls", "openssl", "permessage-deflate", "ssl"))' -C metadata=71f55ea69fd8a0c9 -C extra-filename=-71f55ea69fd8a0c9 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-5b3601431af488a2.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-027182c3f5747280.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05f3ced711e26943.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-2f7b455decf1395f.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-d3f12d6bd08258a3.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4394fd2ed51649a8.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-293a1e74b661e9fa.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-94a34c9ff559c4ac.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-90f01dff22886771.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-a24287b5723697ab.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-b6e0e8264e5ec2f6.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-b72ff9a8e7cf8dd4.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-6049ecd6f399884f.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-15e7f6459d44a824.rlib --extern ws=/opt/rustwide/target/debug/deps/libws-89efcdbb17a1c8ca.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `ws` (example "threaded") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/bin/rustc --crate-name threaded --edition=2015 examples/threaded.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "libc", "libz-sys", "native-tls", "nativetls", "openssl", "permessage-deflate", "ssl"))' -C metadata=20ea913c623dc146 -C extra-filename=-20ea913c623dc146 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-5b3601431af488a2.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-027182c3f5747280.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05f3ced711e26943.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-2f7b455decf1395f.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-d3f12d6bd08258a3.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-4394fd2ed51649a8.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-293a1e74b661e9fa.rlib --extern mio_extras=/opt/rustwide/target/debug/deps/libmio_extras-94a34c9ff559c4ac.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-90f01dff22886771.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-a24287b5723697ab.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-b6e0e8264e5ec2f6.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-b72ff9a8e7cf8dd4.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-6049ecd6f399884f.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-15e7f6459d44a824.rlib --extern ws=/opt/rustwide/target/debug/deps/libws-89efcdbb17a1c8ca.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e0419344884e69e7211d2ae24a5a7a3543448f32877d80ba4b1ee88f0d4f047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0419344884e69e7211d2ae24a5a7a3543448f32877d80ba4b1ee88f0d4f047", kill_on_drop: false }` [INFO] [stdout] 8e0419344884e69e7211d2ae24a5a7a3543448f32877d80ba4b1ee88f0d4f047 [INFO] testing ws-0.9.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] extracting crate ws 0.9.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ws 0.9.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bbef424466c48ac395f7dfd3ba26d74ff59c952fd2ff2739aed7f823c730670 [INFO] running `Command { std: "docker" "start" "-a" "0bbef424466c48ac395f7dfd3ba26d74ff59c952fd2ff2739aed7f823c730670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bbef424466c48ac395f7dfd3ba26d74ff59c952fd2ff2739aed7f823c730670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbef424466c48ac395f7dfd3ba26d74ff59c952fd2ff2739aed7f823c730670", kill_on_drop: false }` [INFO] [stdout] 0bbef424466c48ac395f7dfd3ba26d74ff59c952fd2ff2739aed7f823c730670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d50562091f665a4d3bb3422e9e8491c06246b73ed680c8f92d2bdca979b61a [INFO] running `Command { std: "docker" "start" "-a" "94d50562091f665a4d3bb3422e9e8491c06246b73ed680c8f92d2bdca979b61a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling iovec v0.1.2 [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 mio v0.6.16 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [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: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "94d50562091f665a4d3bb3422e9e8491c06246b73ed680c8f92d2bdca979b61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d50562091f665a4d3bb3422e9e8491c06246b73ed680c8f92d2bdca979b61a", kill_on_drop: false }` [INFO] [stdout] 94d50562091f665a4d3bb3422e9e8491c06246b73ed680c8f92d2bdca979b61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f59b5c873b50d58f133427cb11d358bc15886d78fbb6b265d3e58e2b2166d8b5 [INFO] running `Command { std: "docker" "start" "-a" "f59b5c873b50d58f133427cb11d358bc15886d78fbb6b265d3e58e2b2166d8b5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling termcolor v1.0.4 [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: `"native-tls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [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)]` 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: 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`, `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: 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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | inner: Box, [INFO] [stdout] | +++ [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "f59b5c873b50d58f133427cb11d358bc15886d78fbb6b265d3e58e2b2166d8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59b5c873b50d58f133427cb11d358bc15886d78fbb6b265d3e58e2b2166d8b5", kill_on_drop: false }` [INFO] [stdout] f59b5c873b50d58f133427cb11d358bc15886d78fbb6b265d3e58e2b2166d8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 905a394e00e032f4f54d28af0d277177abf11b701ce2ebfde39d3fd5ac26e2e6 [INFO] running `Command { std: "docker" "start" "-a" "905a394e00e032f4f54d28af0d277177abf11b701ce2ebfde39d3fd5ac26e2e6", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stderr] --> src/io.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(feature = "native_tls")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"native-tls"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, `ssl` [INFO] [stderr] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ws` (lib) generated 1 warning [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/html_chat.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 43 - fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stderr] 43 + fn on_request(&mut self, req: &Request) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ws` (example "html_chat") generated 1 warning (run `cargo fix --example "html_chat"` to apply 1 suggestion) [INFO] [stderr] warning: unused closure that must be used [INFO] [stderr] --> src/factory.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | factory.connection_made(Sender::new(mio::Token(0), chn, 0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: closures are lazy and do nothing unless called [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/router.rs:13:63 [INFO] [stderr] | [INFO] [stderr] 13 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stderr] 13 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/router.rs:82:63 [INFO] [stderr] | [INFO] [stderr] 82 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 82 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stderr] 82 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/router.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | inner: Box, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | inner: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ws` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] warning: `ws` (example "router") generated 3 warnings (run `cargo fix --example "router"` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ws-2946c8919b4c51ad) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test factory::test::closure_factory ... ok [INFO] [stdout] test factory::test::impl_factory ... ok [INFO] [stdout] test factory::test::connection_lost ... ok [INFO] [stdout] test frame::test::display_frame ... ok [INFO] [stdout] test handler::test::closure_handler ... ok [INFO] [stdout] test handshake::test::remote_addr ... ok [INFO] [stdout] test handshake::test::remote_addr_forwarded ... ok [INFO] [stdout] test handler::test::handler ... ok [INFO] [stdout] test handshake::test::remote_addr_x_forwarded_for ... ok [INFO] [stdout] test message::test::binary_convert ... ok [INFO] [stdout] test message::test::binary_convert_vec ... ok [INFO] [stdout] test message::test::display ... ok [INFO] [stdout] test message::test::text_convert ... ok [INFO] [stdout] test protocol::test::closecode_from_u16 ... ok [INFO] [stdout] test protocol::test::closecode_into_u16 ... ok [INFO] [stdout] test protocol::test::opcode_from_u8 ... ok [INFO] [stdout] test protocol::test::opcode_into_u8 ... ok [INFO] [stdout] test io::test::test_url_to_addrs ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- io::test::test_url_to_addrs stdout ---- [INFO] [stdout] thread 'io::test::test_url_to_addrs' panicked at src/io.rs:961:9: [INFO] [stdout] assertion failed: url_to_addrs(&ws_url).is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56166346d8d5 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x56166346d8d5 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56166346d8d5 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x56166346d8d5 - ::fmt::hfb01aa1fa3fb1821 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56166349774b - core::fmt::rt::Argument::fmt::h125e56152abbc1c3 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x56166349774b - core::fmt::write::hb0ab4ff05ccfe741 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21 [INFO] [stdout] 6: 0x56166346accf - std::io::Write::write_fmt::hea6336dbf2fa00b8 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15 [INFO] [stdout] 7: 0x56166346d6ae - std::sys_common::backtrace::_print::h79ca548f3a2adf4b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56166346d6ae - std::sys_common::backtrace::print::h9aebf997b2fea2d3 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56166346f019 - std::panicking::default_hook::{{closure}}::h68a0954af2694526 [INFO] [stdout] 10: 0x56166346ed6c - std::panicking::default_hook::h5be50cc6849ffb00 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x5616633ae92f - as core::ops::function::Fn>::call::hd874405dcbd1d3ed [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x5616633ae92f - test::test_main::{{closure}}::h4f26a9df34a84b94 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x56166346f61b - as core::ops::function::Fn>::call::h00e96d9c62aa9a12 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x56166346f61b - std::panicking::rust_panic_with_hook::h3c0df6036729334c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x56166346f35b - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:656:13 [INFO] [stdout] 16: 0x56166346dd99 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x56166346f0c7 - rust_begin_unwind [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x561663358e83 - core::panicking::panic_fmt::h2ba8af99174d83ea [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x561663358f2c - core::panicking::panic::h049fed9389bf889e [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:146:5 [INFO] [stdout] 20: 0x56166336dedf - ws::io::test::test_url_to_addrs::h11bc5aef98ed577c [INFO] [stdout] at /opt/rustwide/workdir/src/io.rs:961:9 [INFO] [stdout] 21: 0x56166336d9b7 - ws::io::test::test_url_to_addrs::{{closure}}::h04e8edc865b2686d [INFO] [stdout] at /opt/rustwide/workdir/src/io.rs:955:27 [INFO] [stdout] 22: 0x561663368a56 - core::ops::function::FnOnce::call_once::h561fc1fee17da87a [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5616633b324b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5616633b324b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18 [INFO] [stdout] 25: 0x5616633b2911 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60 [INFO] [stdout] 26: 0x5616633b2911 - as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5616633b2911 - std::panicking::try::do_call::h5e158f1ad8a5f983 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40 [INFO] [stdout] 28: 0x5616633b2911 - std::panicking::try::hea3411d60321c4de [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19 [INFO] [stdout] 29: 0x5616633b2911 - std::panic::catch_unwind::hafb7bb18bc47bbc7 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14 [INFO] [stdout] 30: 0x5616633b2911 - test::run_test_in_process::h74dd138dc7762d99 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27 [INFO] [stdout] 31: 0x5616633b2911 - test::run_test::{{closure}}::h6b390822e63606cf [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43 [INFO] [stdout] 32: 0x56166337b2e4 - test::run_test::{{closure}}::h6e11dba8131d354b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41 [INFO] [stdout] 33: 0x56166337b2e4 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x56166337fdb2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 35: 0x56166337fdb2 - as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x56166337fdb2 - std::panicking::try::do_call::hbf534c458cd858f0 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40 [INFO] [stdout] 37: 0x56166337fdb2 - std::panicking::try::h65c18365a7b9ad90 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19 [INFO] [stdout] 38: 0x56166337fdb2 - std::panic::catch_unwind::h21b25d4c69478c39 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14 [INFO] [stdout] 39: 0x56166337fdb2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 40: 0x56166337fdb2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x56166347390b - as core::ops::function::FnOnce>::call_once::h41b39260afcffdc9 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 42: 0x56166347390b - as core::ops::function::FnOnce>::call_once::h6694c8dc6dd010c4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x56166347390b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f69983fbac3 - [INFO] [stdout] 45: 0x7f699848ca04 - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] io::test::test_url_to_addrs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "905a394e00e032f4f54d28af0d277177abf11b701ce2ebfde39d3fd5ac26e2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905a394e00e032f4f54d28af0d277177abf11b701ce2ebfde39d3fd5ac26e2e6", kill_on_drop: false }` [INFO] [stdout] 905a394e00e032f4f54d28af0d277177abf11b701ce2ebfde39d3fd5ac26e2e6