[INFO] cloning repository https://github.com/ashwin-solanki-789/rust-websocket
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashwin-solanki-789/rust-websocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-solanki-789%2Frust-websocket", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-solanki-789%2Frust-websocket'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eec52b0351fe00f211c5d207dfbe62b5f98869e6
[INFO] checking ashwin-solanki-789/rust-websocket against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-solanki-789%2Frust-websocket" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ashwin-solanki-789/rust-websocket
[INFO] finished tweaking git repo https://github.com/ashwin-solanki-789/rust-websocket
[INFO] tweaked toml for git repo https://github.com/ashwin-solanki-789/rust-websocket written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ashwin-solanki-789/rust-websocket on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ashwin-solanki-789/rust-websocket already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha1 v0.1.1
[INFO] [stderr]   Downloaded miow v0.1.5
[INFO] [stderr]   Downloaded slab v0.1.3
[INFO] [stderr]   Downloaded mio v0.5.1
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded bytes v0.3.0
[INFO] [stderr]   Downloaded http-muncher v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8d5372b84ffef610527f8ad17f750f99053c539645b207858b102f3e1d34816
[INFO] running `Command { std: "docker" "start" "-a" "c8d5372b84ffef610527f8ad17f750f99053c539645b207858b102f3e1d34816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8d5372b84ffef610527f8ad17f750f99053c539645b207858b102f3e1d34816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8d5372b84ffef610527f8ad17f750f99053c539645b207858b102f3e1d34816", kill_on_drop: false }`
[INFO] [stdout] c8d5372b84ffef610527f8ad17f750f99053c539645b207858b102f3e1d34816
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2c8f605081b027b2eee6bde9484fb66cc743ce6c4620f0492373cdcfcbd2dda
[INFO] running `Command { std: "docker" "start" "-a" "f2c8f605081b027b2eee6bde9484fb66cc743ce6c4620f0492373cdcfcbd2dda", kill_on_drop: false }`
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking slab v0.1.3
[INFO] [stderr]     Checking bytes v0.3.0
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking kernel32-sys v0.2.2
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking web_socket_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/frame.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/frame.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Error, Read};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HandshakeResponse` is never constructed
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | enum ClientState {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     HandshakeResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fin`, `rsv1`, `rsv2`, `rsv3`, and `opcode` are never read
[INFO] [stdout]   --> src/frame.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct WebSocketFrameHeader {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 35 |     fin: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     rsv1: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     rsv2: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     rsv3: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     masked: bool,
[INFO] [stdout] 40 |     opcode: OpCode,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WebSocketFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header`, `mask`, and `payload` are never read
[INFO] [stdout]   --> src/frame.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct WebSocketFrame {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 46 |     header: WebSocketFrameHeader,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 47 |     mask: Option<[u8; 4]>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     pub payload: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WebSocketFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_opcode` is never used
[INFO] [stdout]   --> src/frame.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl WebSocketFrame {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn get_opcode(&self) -> OpCode {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HandshakeResponse` is never constructed
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | enum ClientState {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     HandshakeResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fin`, `rsv1`, `rsv2`, `rsv3`, and `opcode` are never read
[INFO] [stdout]   --> src/frame.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct WebSocketFrameHeader {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 35 |     fin: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     rsv1: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     rsv2: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     rsv3: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     masked: bool,
[INFO] [stdout] 40 |     opcode: OpCode,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WebSocketFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header`, `mask`, and `payload` are never read
[INFO] [stdout]   --> src/frame.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct WebSocketFrame {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 46 |     header: WebSocketFrameHeader,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 47 |     mask: Option<[u8; 4]>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     pub payload: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WebSocketFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_opcode` is never used
[INFO] [stdout]   --> src/frame.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl WebSocketFrame {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn get_opcode(&self) -> OpCode {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "f2c8f605081b027b2eee6bde9484fb66cc743ce6c4620f0492373cdcfcbd2dda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2c8f605081b027b2eee6bde9484fb66cc743ce6c4620f0492373cdcfcbd2dda", kill_on_drop: false }`
[INFO] [stdout] f2c8f605081b027b2eee6bde9484fb66cc743ce6c4620f0492373cdcfcbd2dda
