[INFO] fetching crate websocket-simple 0.1.1... [INFO] checking websocket-simple-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate websocket-simple 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate websocket-simple 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate websocket-simple 0.1.1 [INFO] finished tweaking crates.io crate websocket-simple 0.1.1 [INFO] tweaked toml for crates.io crate websocket-simple 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding env_logger v0.3.5 (latest: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.4) [INFO] [stderr] Adding openssl v0.7.14 (latest: v0.10.66) [INFO] [stderr] Adding openssl-sys v0.7.17 (latest: v0.9.103) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.4) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding same-file v0.1.3 (latest: v1.0.6) [INFO] [stderr] Adding sha1 v0.2.0 (latest: v0.10.6) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding term v0.4.6 (latest: v1.0.0) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding walkdir v1.0.7 (latest: v2.5.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded openssl-sys-extras v0.7.14 [INFO] [stderr] Downloaded openssl v0.7.14 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded pnacl-build-helper v1.4.11 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded openssl-sys v0.7.17 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded libressl-pnacl-sys v2.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 973c3051185ba73bd2999e6a22a8b9f681f27fa82f4997a1d6a6a0e779fa549b [INFO] running `Command { std: "docker" "start" "-a" "973c3051185ba73bd2999e6a22a8b9f681f27fa82f4997a1d6a6a0e779fa549b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "973c3051185ba73bd2999e6a22a8b9f681f27fa82f4997a1d6a6a0e779fa549b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973c3051185ba73bd2999e6a22a8b9f681f27fa82f4997a1d6a6a0e779fa549b", kill_on_drop: false }` [INFO] [stdout] 973c3051185ba73bd2999e6a22a8b9f681f27fa82f4997a1d6a6a0e779fa549b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a5b26f36444881e189e84bf8cfb012de4e356e090b8d175ecd1531f442709e [INFO] running `Command { std: "docker" "start" "-a" "02a5b26f36444881e189e84bf8cfb012de4e356e090b8d175ecd1531f442709e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking websocket-simple v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(addr) = try!(shake.remote_addr()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.handler.build_request(url)).format(req.get_mut()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let sock = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | let _ = try!(self.socket.do_write_buf(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:398:29 [INFO] [stdout] | [INFO] [stdout] 398 | let _ = try!(self.socket.do_write_buf(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | try!(self.handler.on_open(Handshake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | let _ = try!(val.write(&data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | let len = try!(Self::do_read_buf(&mut self.cur_data, req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | try!(response.format(res.get_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(ref request) = try!(Request::parse(req.get_ref())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | let response = try!(self.handler.on_request(request)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:481:31 [INFO] [stdout] | [INFO] [stdout] 481 | let len = try!(Self::do_read_buf(&mut self.cur_data, res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | try!(self.write()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | try!(self.handler.on_response(&response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | try!(self.handler.on_open(Handshake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | let request = try!(try!(Request::parse(req.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:514:32 [INFO] [stdout] | [INFO] [stdout] 514 | let request = try!(try!(Request::parse(req.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:517:28 [INFO] [stdout] | [INFO] [stdout] 517 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | let req_key = try!(request.hashed_key()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | let res_key = try!(from_utf8(try!(response.key()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:532:46 [INFO] [stdout] | [INFO] [stdout] 532 | let res_key = try!(from_utf8(try!(response.key()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | try!(self.read_frames()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | try!(self.socket.clear_negotiating()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:567:34 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(_) = try!(self.buffer_in()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:589:37 [INFO] [stdout] | [INFO] [stdout] 589 | while let Some(mut frame) = try!(Frame::parse(&mut self.in_buffer)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:611:34 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(frame) = try!(self.handler.on_frame(frame)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:623:29 [INFO] [stdout] | [INFO] [stdout] 623 | ... try!(self.handler.on_message(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:622:53 [INFO] [stdout] | [INFO] [stdout] 622 | ... let msg = Message::text(try!(String::from_utf8(frame.into_data()).map_err(|err| err.utf8_error()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:633:29 [INFO] [stdout] | [INFO] [stdout] 633 | ... try!(self.handler.on_message(Message::binary(data))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:658:40 [INFO] [stdout] | [INFO] [stdout] 658 | ... if let 2 = try!(data.read(&mut close_code)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:699:45 [INFO] [stdout] | [INFO] [stdout] 699 | ... try!(self.send_close(named, "")); // note this drops any extra close data [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | ... try!(self.send_close(CloseCode::Invalid, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:710:37 [INFO] [stdout] | [INFO] [stdout] 710 | ... try!(self.send_close(CloseCode::Empty, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 716 | ... try!(self.send_pong(frame.into_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:740:41 [INFO] [stdout] | [INFO] [stdout] 740 | ... try!(self.handler.on_message(Message::text(string))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:737:54 [INFO] [stdout] | [INFO] [stdout] 737 | ... let string = try!(String::from_utf8(data).map_err(|err| err.utf8_error())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:754:41 [INFO] [stdout] | [INFO] [stdout] 754 | ... try!(self.handler.on_message(Message::binary(data))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | try!(self.socket.clear_negotiating()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | let len = try!(self.socket.do_write_buf(&mut self.out_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:836:30 [INFO] [stdout] | [INFO] [stdout] 836 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::message(data, opcode, true))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:851:17 [INFO] [stdout] | [INFO] [stdout] 851 | try!(self.buffer_frame(first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:855:25 [INFO] [stdout] | [INFO] [stdout] 855 | try!(self.buffer_frame( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:858:25 [INFO] [stdout] | [INFO] [stdout] 858 | try!(self.buffer_frame( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:866:17 [INFO] [stdout] | [INFO] [stdout] 866 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:884:13 [INFO] [stdout] | [INFO] [stdout] 884 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:883:30 [INFO] [stdout] | [INFO] [stdout] 883 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::ping(data))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:899:30 [INFO] [stdout] | [INFO] [stdout] 899 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::pong(data))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:932:30 [INFO] [stdout] | [INFO] [stdout] 932 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::close(code, reason.borrow()))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | try!(self.check_buffer_out(&frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | try!(self.out_buffer.seek(SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | try!(frame.format(&mut self.out_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | try!(self.out_buffer.seek(SeekFrom::Start(pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | try!(self.write()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:986:19 [INFO] [stdout] | [INFO] [stdout] 986 | let len = try!(Self::do_read_buf(&mut self.cur_data, &mut self.in_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | try!(cursor.read(&mut data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if try!(cursor.read(&mut head)) != 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | if try!(cursor.read(&mut length_bytes)) != 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:300:16 [INFO] [stdout] | [INFO] [stdout] 300 | if try!(cursor.read(&mut length_bytes)) != 8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | if try!(cursor.read(&mut mask_bytes)) != 4 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(w.write(&self.payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | try!(w.write(&mask)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Binary(data) => Ok(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | Binary(ref data) => Ok(try!(from_utf8(data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(try!(self.request.client_addr()).map(String::from).or_else(|| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Some(try!(from_utf8(origin)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(hash_key(try!(self.key()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(try!(from_utf8(protos)).split(',').map(|proto| proto.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(try!(from_utf8(exts)).split(',').map(|ext| ext.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | return Ok(try!(from_utf8(x_forward)).split(',').next()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:301:33 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(_for) = try!(from_utf8(forward)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | let parsed = try!(req.parse(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | try!(url.host_str().ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | try!(write!(w, "{} {} HTTP/1.1\r\n", self.method, self.path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | try!(write!(w, "{}: ", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | try!(w.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | try!(self.format(&mut s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | write!(f, "{}", try!(from_utf8(&s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(Some(try!(from_utf8(proto)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | Ok(try!(from_utf8(exts)).split(',').map(|proto| proto.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | let parsed = try!(res.parse(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:566:49 [INFO] [stdout] | [INFO] [stdout] 566 | ("Sec-WebSocket-Accept".into(), try!(req.hashed_key()).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | try!(write!(w, "HTTP/1.1 {} {}\r\n", self.status, self.reason)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | try!(write!(w, "{}: ", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | try!(w.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | try!(self.format(&mut s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | write!(f, "{}", try!(from_utf8(&s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let len = try!(self.write(val.get_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Custom(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] 51 | Custom(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | fn cause(&self) -> Option<&StdError> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn into_box(self) -> 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | pub fn into_box(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "{}: {}", self.description(), self.details) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | Kind::Encoding(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | Kind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | Kind::Custom(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(addr) = try!(shake.remote_addr()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.handler.build_request(url)).format(req.get_mut()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let sock = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | let _ = try!(self.socket.do_write_buf(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:398:29 [INFO] [stdout] | [INFO] [stdout] 398 | let _ = try!(self.socket.do_write_buf(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | try!(self.handler.on_open(Handshake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | let _ = try!(val.write(&data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | let len = try!(Self::do_read_buf(&mut self.cur_data, req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | try!(response.format(res.get_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(ref request) = try!(Request::parse(req.get_ref())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | let response = try!(self.handler.on_request(request)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:481:31 [INFO] [stdout] | [INFO] [stdout] 481 | let len = try!(Self::do_read_buf(&mut self.cur_data, res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | try!(self.write()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | try!(self.handler.on_response(&response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | try!(self.handler.on_open(Handshake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | let request = try!(try!(Request::parse(req.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:514:32 [INFO] [stdout] | [INFO] [stdout] 514 | let request = try!(try!(Request::parse(req.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:517:28 [INFO] [stdout] | [INFO] [stdout] 517 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | let response = try!(try!(Response::parse(res.get_ref())).ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | let req_key = try!(request.hashed_key()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | let res_key = try!(from_utf8(try!(response.key()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:532:46 [INFO] [stdout] | [INFO] [stdout] 532 | let res_key = try!(from_utf8(try!(response.key()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | try!(self.read_frames()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | try!(self.socket.clear_negotiating()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:567:34 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(_) = try!(self.buffer_in()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:589:37 [INFO] [stdout] | [INFO] [stdout] 589 | while let Some(mut frame) = try!(Frame::parse(&mut self.in_buffer)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:611:34 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(frame) = try!(self.handler.on_frame(frame)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:623:29 [INFO] [stdout] | [INFO] [stdout] 623 | ... try!(self.handler.on_message(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:622:53 [INFO] [stdout] | [INFO] [stdout] 622 | ... let msg = Message::text(try!(String::from_utf8(frame.into_data()).map_err(|err| err.utf8_error()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:633:29 [INFO] [stdout] | [INFO] [stdout] 633 | ... try!(self.handler.on_message(Message::binary(data))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:658:40 [INFO] [stdout] | [INFO] [stdout] 658 | ... if let 2 = try!(data.read(&mut close_code)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:699:45 [INFO] [stdout] | [INFO] [stdout] 699 | ... try!(self.send_close(named, "")); // note this drops any extra close data [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | ... try!(self.send_close(CloseCode::Invalid, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:710:37 [INFO] [stdout] | [INFO] [stdout] 710 | ... try!(self.send_close(CloseCode::Empty, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 716 | ... try!(self.send_pong(frame.into_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:740:41 [INFO] [stdout] | [INFO] [stdout] 740 | ... try!(self.handler.on_message(Message::text(string))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:737:54 [INFO] [stdout] | [INFO] [stdout] 737 | ... let string = try!(String::from_utf8(data).map_err(|err| err.utf8_error())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:754:41 [INFO] [stdout] | [INFO] [stdout] 754 | ... try!(self.handler.on_message(Message::binary(data))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | try!(self.socket.clear_negotiating()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | let len = try!(self.socket.do_write_buf(&mut self.out_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:836:30 [INFO] [stdout] | [INFO] [stdout] 836 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::message(data, opcode, true))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:851:17 [INFO] [stdout] | [INFO] [stdout] 851 | try!(self.buffer_frame(first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:855:25 [INFO] [stdout] | [INFO] [stdout] 855 | try!(self.buffer_frame( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:858:25 [INFO] [stdout] | [INFO] [stdout] 858 | try!(self.buffer_frame( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:866:17 [INFO] [stdout] | [INFO] [stdout] 866 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:884:13 [INFO] [stdout] | [INFO] [stdout] 884 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:883:30 [INFO] [stdout] | [INFO] [stdout] 883 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::ping(data))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:899:30 [INFO] [stdout] | [INFO] [stdout] 899 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::pong(data))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | try!(self.buffer_frame(frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:932:30 [INFO] [stdout] | [INFO] [stdout] 932 | if let Some(frame) = try!(self.handler.on_send_frame(Frame::close(code, reason.borrow()))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | try!(self.check_buffer_out(&frame)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | try!(self.out_buffer.seek(SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | try!(frame.format(&mut self.out_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | try!(self.out_buffer.seek(SeekFrom::Start(pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | try!(self.write()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:986:19 [INFO] [stdout] | [INFO] [stdout] 986 | let len = try!(Self::do_read_buf(&mut self.cur_data, &mut self.in_buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | try!(cursor.read(&mut data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if try!(cursor.read(&mut head)) != 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | if try!(cursor.read(&mut length_bytes)) != 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:300:16 [INFO] [stdout] | [INFO] [stdout] 300 | if try!(cursor.read(&mut length_bytes)) != 8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | if try!(cursor.read(&mut mask_bytes)) != 4 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(w.write(&self.payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | try!(w.write(&headers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | try!(w.write(&mask)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Binary(data) => Ok(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | Binary(ref data) => Ok(try!(from_utf8(data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(try!(self.request.client_addr()).map(String::from).or_else(|| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Some(try!(from_utf8(origin)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(hash_key(try!(self.key()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(try!(from_utf8(protos)).split(',').map(|proto| proto.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(try!(from_utf8(exts)).split(',').map(|ext| ext.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | return Ok(try!(from_utf8(x_forward)).split(',').next()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:301:33 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(_for) = try!(from_utf8(forward)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | let parsed = try!(req.parse(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | try!(url.host_str().ok_or( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | try!(write!(w, "{} {} HTTP/1.1\r\n", self.method, self.path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | try!(write!(w, "{}: ", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | try!(w.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | try!(self.format(&mut s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | write!(f, "{}", try!(from_utf8(&s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(Some(try!(from_utf8(proto)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | Ok(try!(from_utf8(exts)).split(',').map(|proto| proto.trim()).collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | let parsed = try!(res.parse(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:566:49 [INFO] [stdout] | [INFO] [stdout] 566 | ("Sec-WebSocket-Accept".into(), try!(req.hashed_key()).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | try!(write!(w, "HTTP/1.1 {} {}\r\n", self.status, self.reason)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | try!(write!(w, "{}: ", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | try!(w.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | try!(write!(w, "\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | try!(self.format(&mut s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handshake.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | write!(f, "{}", try!(from_utf8(&s).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let len = try!(self.write(val.get_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Custom(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] 51 | Custom(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | fn cause(&self) -> Option<&StdError> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn into_box(self) -> 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | pub fn into_box(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "{}: {}", self.description(), self.details) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | Kind::Encoding(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | Kind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | Kind::Custom(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "02a5b26f36444881e189e84bf8cfb012de4e356e090b8d175ecd1531f442709e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a5b26f36444881e189e84bf8cfb012de4e356e090b8d175ecd1531f442709e", kill_on_drop: false }` [INFO] [stdout] 02a5b26f36444881e189e84bf8cfb012de4e356e090b8d175ecd1531f442709e