[INFO] cloning repository https://github.com/soupersauce/rustchat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soupersauce/rustchat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1dfd38ce54610731c0dca287af5c3327afa737c [INFO] checking soupersauce/rustchat against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soupersauce/rustchat on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soupersauce/rustchat [INFO] finished tweaking git repo https://github.com/soupersauce/rustchat [INFO] tweaked toml for git repo https://github.com/soupersauce/rustchat written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/soupersauce/rustchat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: frame [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b054b11b46eb32c7a1a993b43d6ca04a6387e19e47966f8997c0e4f15c6ae84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b054b11b46eb32c7a1a993b43d6ca04a6387e19e47966f8997c0e4f15c6ae84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b054b11b46eb32c7a1a993b43d6ca04a6387e19e47966f8997c0e4f15c6ae84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b054b11b46eb32c7a1a993b43d6ca04a6387e19e47966f8997c0e4f15c6ae84", kill_on_drop: false }` [INFO] [stdout] 5b054b11b46eb32c7a1a993b43d6ca04a6387e19e47966f8997c0e4f15c6ae84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5605d8fb21a6e2b68112ac652c81c4e97f6bb604a29be55a918d927d4bb8848 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b5605d8fb21a6e2b68112ac652c81c4e97f6bb604a29be55a918d927d4bb8848", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: frame [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let buf = try!(input.read_u16::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 52 | let buf = input.read_u16::()?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 52 | let buf = r#try!(input.read_u16::()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let len = try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 55 | let len = Self::read_length(header.payload_length, input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 55 | let len = r#try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mask = try!(Self::read_mask(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 57 | let mask = Self::read_mask(input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 57 | let mask = r#try!(Self::read_mask(input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = Self::read_payload(len, input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = r#try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(input.read(&mut buf)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 107 | input.read(&mut buf)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 107 | r#try!(input.read(&mut buf)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(input.read(&mut payload)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 114 | input.read(&mut payload)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(input.read(&mut payload)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BigEndian` [INFO] [stdout] --> src/frame.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^^^^^ no `BigEndian` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `byteorder::ReadyBytesExt` [INFO] [stdout] --> src/frame.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ReadyBytesExt` in the root [INFO] [stdout] | help: a similar name exists in the module: `ReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Write` [INFO] [stdout] --> src/frame.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/frame.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use frame::{WebSocketFrame, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let buf = try!(input.read_u16::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 52 | let buf = input.read_u16::()?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 52 | let buf = r#try!(input.read_u16::()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let len = try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 55 | let len = Self::read_length(header.payload_length, input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 55 | let len = r#try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mask = try!(Self::read_mask(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 57 | let mask = Self::read_mask(input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 57 | let mask = r#try!(Self::read_mask(input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = Self::read_payload(len, input)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = r#try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(input.read(&mut buf)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 107 | input.read(&mut buf)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 107 | r#try!(input.read(&mut buf)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(input.read(&mut payload)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 114 | input.read(&mut payload)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(input.read(&mut payload)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BigEndian` [INFO] [stdout] --> src/frame.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^^^^^ no `BigEndian` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `byteorder::ReadyBytesExt` [INFO] [stdout] --> src/frame.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ReadyBytesExt` in the root [INFO] [stdout] | help: a similar name exists in the module: `ReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Write` [INFO] [stdout] --> src/frame.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/frame.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use frame::{WebSocketFrame, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `WebSocketFrame` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:183:51 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(frame) => println!("{:?}", frame), [INFO] [stdout] | ^^^^^ `WebSocketFrame` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `WebSocketFrame` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `masked` on type `std::result::Result` [INFO] [stdout] --> src/frame.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let mask_key = if header.masked { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `WebSocketFrame` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:183:51 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(frame) => println!("{:?}", frame), [INFO] [stdout] | ^^^^^ `WebSocketFrame` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `WebSocketFrame` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `masked` on type `std::result::Result` [INFO] [stdout] --> src/frame.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let mask_key = if header.masked { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | header: header, [INFO] [stdout] | ^^^^^^ expected struct `WebSocketFrameHeader`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `WebSocketFrameHeader` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | header: header, [INFO] [stdout] | ^^^^^^ expected struct `WebSocketFrameHeader`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `WebSocketFrameHeader` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u64` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | PAYLOAD_LEN_U64 => input.read_u64::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::byteorder::ReadBytesExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u16` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | PAYLOAD_LEN_U16 => input.read_u16::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::byteorder::ReadBytesExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u64` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | PAYLOAD_LEN_U64 => input.read_u64::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::byteorder::ReadBytesExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u16` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | PAYLOAD_LEN_U16 => input.read_u16::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::byteorder::ReadBytesExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b5605d8fb21a6e2b68112ac652c81c4e97f6bb604a29be55a918d927d4bb8848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5605d8fb21a6e2b68112ac652c81c4e97f6bb604a29be55a918d927d4bb8848", kill_on_drop: false }` [INFO] [stdout] b5605d8fb21a6e2b68112ac652c81c4e97f6bb604a29be55a918d927d4bb8848