[INFO] cloning repository https://github.com/retrokiller543/rustic_rtmp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retrokiller543/rustic_rtmp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f7daba48b71973230dbe9d5ea87b3194a71bd07 [INFO] checking retrokiller543/rustic_rtmp against master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retrokiller543/rustic_rtmp on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] finished tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] tweaked toml for git repo https://github.com/retrokiller543/rustic_rtmp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/retrokiller543/rustic_rtmp 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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytesio v0.2.0 [INFO] [stderr] Downloaded flexi_logger v0.25.6 [INFO] [stderr] Downloaded openh264-sys2 v0.4.1 [INFO] [stderr] Downloaded openh264 v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0007c4577a6ccde548996d9071aaa40348abb123169391cc1749898b0a92a17d [INFO] running `Command { std: "docker" "start" "-a" "0007c4577a6ccde548996d9071aaa40348abb123169391cc1749898b0a92a17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0007c4577a6ccde548996d9071aaa40348abb123169391cc1749898b0a92a17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0007c4577a6ccde548996d9071aaa40348abb123169391cc1749898b0a92a17d", kill_on_drop: false }` [INFO] [stdout] 0007c4577a6ccde548996d9071aaa40348abb123169391cc1749898b0a92a17d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe426533e0ae017b89a806546dfe4cb8ed45787e60751c8520338598938ab7b [INFO] running `Command { std: "docker" "start" "-a" "ffe426533e0ae017b89a806546dfe4cb8ed45787e60751c8520338598938ab7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling openh264-sys2 v0.4.1 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking flexi_logger v0.25.6 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking bytesio v0.2.0 [INFO] [stderr] Checking openh264 v0.4.2 [INFO] [stderr] Checking rustic_rtmp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `read_with_type` is never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Amf0Reader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn read_with_type(&mut self, specified_marker: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WrongType` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | WrongType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ReadErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | SetChunkSize(SetChunkSizeMessage), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - SetChunkSize(SetChunkSizeMessage), [INFO] [stdout] 32 + SetChunkSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Acknowledgement(AcknowledgementMessage), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Acknowledgement(AcknowledgementMessage), [INFO] [stdout] 33 + Acknowledgement(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | ReleaseStream(ReleaseStream), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - ReleaseStream(ReleaseStream), [INFO] [stdout] 34 + ReleaseStream(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | FCPublish(FCPublish), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - FCPublish(FCPublish), [INFO] [stdout] 35 + FCPublish(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | SetDataFrame(SetDataFrame), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - SetDataFrame(SetDataFrame), [INFO] [stdout] 39 + SetDataFrame(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_id` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AudioData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 47 | pub stream_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_id` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct VideoData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 62 | pub stream_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoData` 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 `command_name`, `amf0_null`, `stream_key`, and `stream_type` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 104 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub transaction_id: usize, [INFO] [stdout] 106 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub stream_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` 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 `command_name`, `transaction_id`, `amf0_null`, `stream_key`, and `stream_id` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct FCPublish { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 188 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | pub transaction_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 190 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 191 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 192 | pub stream_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FCPublish` 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 `command_name`, `transaction_id`, `amf0_null`, and `stream_key` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct ReleaseStream { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 262 | pub transaction_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 263 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 264 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReleaseStream` 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 `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_number` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct AcknowledgementMessage { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 731 | pub sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcknowledgementMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_size` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 743 | pub struct SetChunkSizeMessage { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 744 | pub chunk_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetChunkSizeMessage` 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 `command_name` and `amf0_null` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:985:9 [INFO] [stdout] | [INFO] [stdout] 984 | pub struct CreateStream { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 985 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 986 | pub transaction_id: usize, [INFO] [stdout] 987 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_name` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct PlayMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1022 | pub stream_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_paused` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1027 | pub struct PauseMessage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1030 | pub is_paused: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PauseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Amf0ReadErrorValue` [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ `Amf0ReadErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0ReadErrorValue` [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ `Amf0ReadErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Amf0WriteErrorValue` [INFO] [stdout] 48 | pub enum Amf0WriteErrorValue { [INFO] [stdout] | ------------------- `Amf0WriteErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0WriteErrorValue` [INFO] [stdout] 48 | pub enum Amf0WriteErrorValue { [INFO] [stdout] | ------------------- `Amf0WriteErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | SetChunkSize(SetChunkSizeMessage), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - SetChunkSize(SetChunkSizeMessage), [INFO] [stdout] 32 + SetChunkSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | ReleaseStream(ReleaseStream), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - ReleaseStream(ReleaseStream), [INFO] [stdout] 34 + ReleaseStream(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | FCPublish(FCPublish), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - FCPublish(FCPublish), [INFO] [stdout] 35 + FCPublish(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | SetDataFrame(SetDataFrame), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - SetDataFrame(SetDataFrame), [INFO] [stdout] 39 + SetDataFrame(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_id` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AudioData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 47 | pub stream_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_id` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct VideoData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 62 | pub stream_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoData` 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 `command_name`, `amf0_null`, `stream_key`, and `stream_type` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 104 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub transaction_id: usize, [INFO] [stdout] 106 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub stream_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` 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 `command_name`, `transaction_id`, `amf0_null`, `stream_key`, and `stream_id` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct FCPublish { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 188 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | pub transaction_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 190 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 191 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 192 | pub stream_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FCPublish` 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 `command_name`, `transaction_id`, `amf0_null`, and `stream_key` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct ReleaseStream { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 262 | pub transaction_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 263 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 264 | pub stream_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReleaseStream` 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 `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_size` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 743 | pub struct SetChunkSizeMessage { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 744 | pub chunk_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetChunkSizeMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amf0_null` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 984 | pub struct CreateStream { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 987 | pub amf0_null: Amf0ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream_name` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct PlayMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1022 | pub stream_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_paused` is never read [INFO] [stdout] --> src/server/connection/message/message.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1027 | pub struct PauseMessage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1030 | pub is_paused: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PauseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Amf0ReadErrorValue` [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ `Amf0ReadErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0ReadErrorValue` [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ `Amf0ReadErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Amf0WriteErrorValue` [INFO] [stdout] 48 | pub enum Amf0WriteErrorValue { [INFO] [stdout] | ------------------- `Amf0WriteErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0WriteErrorValue` [INFO] [stdout] 48 | pub enum Amf0WriteErrorValue { [INFO] [stdout] | ------------------- `Amf0WriteErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "ffe426533e0ae017b89a806546dfe4cb8ed45787e60751c8520338598938ab7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe426533e0ae017b89a806546dfe4cb8ed45787e60751c8520338598938ab7b", kill_on_drop: false }` [INFO] [stdout] ffe426533e0ae017b89a806546dfe4cb8ed45787e60751c8520338598938ab7b