[INFO] fetching crate ws-protocol 0.3.0... [INFO] building ws-protocol-0.3.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ws-protocol 0.3.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate ws-protocol 0.3.0 [INFO] finished tweaking crates.io crate ws-protocol 0.3.0 [INFO] tweaked toml for crates.io crate ws-protocol 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ws-protocol 0.3.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ws-protocol 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded sha1 v0.6.0 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77271e2f11ca83e9e813d172a566e5938037be6250fdbb9ca888c2a8bbae046a [INFO] running `Command { std: "docker" "start" "-a" "77271e2f11ca83e9e813d172a566e5938037be6250fdbb9ca888c2a8bbae046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77271e2f11ca83e9e813d172a566e5938037be6250fdbb9ca888c2a8bbae046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77271e2f11ca83e9e813d172a566e5938037be6250fdbb9ca888c2a8bbae046a", kill_on_drop: false }` [INFO] [stdout] 77271e2f11ca83e9e813d172a566e5938037be6250fdbb9ca888c2a8bbae046a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baad2bd0ee4091ee1a18b21684001e3cb9806ce1f1197397fdce22c3af4b9588 [INFO] running `Command { std: "docker" "start" "-a" "baad2bd0ee4091ee1a18b21684001e3cb9806ce1f1197397fdce22c3af4b9588", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ws-protocol v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 29 | FIN::NotFinal => 0, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 30 | FIN::Final => 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_fin_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 69 | OPCODE::Fragment => 0x0, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | OPCODE::Txt => 0x1, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 71 | OPCODE::Bin => 0x2, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 72 | OPCODE::Rsv10 => 0x3, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ ...and 12 other patterns collectively make this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `get_opcode_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lib.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | index += temp_payload_length; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `Command { std: "docker" "inspect" "baad2bd0ee4091ee1a18b21684001e3cb9806ce1f1197397fdce22c3af4b9588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baad2bd0ee4091ee1a18b21684001e3cb9806ce1f1197397fdce22c3af4b9588", kill_on_drop: false }` [INFO] [stdout] baad2bd0ee4091ee1a18b21684001e3cb9806ce1f1197397fdce22c3af4b9588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52be6d9d3d2ed4eb7939dc1319b4e4775e55312761a70b3177c708e920fe16d6 [INFO] running `Command { std: "docker" "start" "-a" "52be6d9d3d2ed4eb7939dc1319b4e4775e55312761a70b3177c708e920fe16d6", kill_on_drop: false }` [INFO] [stderr] Compiling ws-protocol v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 29 | FIN::NotFinal => 0, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 30 | FIN::Final => 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_fin_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 69 | OPCODE::Fragment => 0x0, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | OPCODE::Txt => 0x1, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 71 | OPCODE::Bin => 0x2, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 72 | OPCODE::Rsv10 => 0x3, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ ...and 12 other patterns collectively make this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `get_opcode_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lib.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | index += temp_payload_length; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 29 | FIN::NotFinal => 0, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 30 | FIN::Final => 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 31 | _ => panic!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_fin_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 69 | OPCODE::Fragment => 0x0, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | OPCODE::Txt => 0x1, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 71 | OPCODE::Bin => 0x2, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 72 | OPCODE::Rsv10 => 0x3, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => panic!(), [INFO] [stdout] | ^ ...and 12 other patterns collectively make this unreachable [INFO] [stdout] ... [INFO] [stdout] 184 | let fin_rsv_opcode: u8 = (get_fin_enum_value!(fin) << 7) | (get_opcode_enum_value!(opcode)); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `get_opcode_enum_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lib.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | index += temp_payload_length; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "52be6d9d3d2ed4eb7939dc1319b4e4775e55312761a70b3177c708e920fe16d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52be6d9d3d2ed4eb7939dc1319b4e4775e55312761a70b3177c708e920fe16d6", kill_on_drop: false }` [INFO] [stdout] 52be6d9d3d2ed4eb7939dc1319b4e4775e55312761a70b3177c708e920fe16d6