[INFO] fetching crate ws-protocol 0.3.0... [INFO] building ws-protocol-0.3.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate ws-protocol 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ws-protocol 0.3.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac25d9593427a75b65f5727f1e66218120512557e26358c3db65d64b6613f107 [INFO] running `Command { std: "docker" "start" "-a" "ac25d9593427a75b65f5727f1e66218120512557e26358c3db65d64b6613f107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac25d9593427a75b65f5727f1e66218120512557e26358c3db65d64b6613f107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac25d9593427a75b65f5727f1e66218120512557e26358c3db65d64b6613f107", kill_on_drop: false }` [INFO] [stdout] ac25d9593427a75b65f5727f1e66218120512557e26358c3db65d64b6613f107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01037b6abf5a9f38e36c7a5e56c73e4d991add429b9a12e511539ad1b6047324 [INFO] running `Command { std: "docker" "start" "-a" "01037b6abf5a9f38e36c7a5e56c73e4d991add429b9a12e511539ad1b6047324", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "01037b6abf5a9f38e36c7a5e56c73e4d991add429b9a12e511539ad1b6047324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01037b6abf5a9f38e36c7a5e56c73e4d991add429b9a12e511539ad1b6047324", kill_on_drop: false }` [INFO] [stdout] 01037b6abf5a9f38e36c7a5e56c73e4d991add429b9a12e511539ad1b6047324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09fa65ab25ef3266838542e1e61ac0bc68190d2e5aedba2b71813bb100263ffb [INFO] running `Command { std: "docker" "start" "-a" "09fa65ab25ef3266838542e1e61ac0bc68190d2e5aedba2b71813bb100263ffb", kill_on_drop: false }` [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)]` 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] [stderr] Compiling ws-protocol v0.3.0 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "09fa65ab25ef3266838542e1e61ac0bc68190d2e5aedba2b71813bb100263ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fa65ab25ef3266838542e1e61ac0bc68190d2e5aedba2b71813bb100263ffb", kill_on_drop: false }` [INFO] [stdout] 09fa65ab25ef3266838542e1e61ac0bc68190d2e5aedba2b71813bb100263ffb