[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retrokiller543/rustic_rtmp on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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 nasm-rs v0.2.5 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec12935f2e7dcba3deea9fd24cb6fce2bc0565ae5360bc3bd40270fdabae9b1b [INFO] running `Command { std: "docker" "start" "-a" "ec12935f2e7dcba3deea9fd24cb6fce2bc0565ae5360bc3bd40270fdabae9b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec12935f2e7dcba3deea9fd24cb6fce2bc0565ae5360bc3bd40270fdabae9b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec12935f2e7dcba3deea9fd24cb6fce2bc0565ae5360bc3bd40270fdabae9b1b", kill_on_drop: false }` [INFO] [stdout] ec12935f2e7dcba3deea9fd24cb6fce2bc0565ae5360bc3bd40270fdabae9b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be28112fe5ca261259a54f650d7a384c8f294fd910461d39c87c0cba94cc83b5 [INFO] running `Command { std: "docker" "start" "-a" "be28112fe5ca261259a54f650d7a384c8f294fd910461d39c87c0cba94cc83b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [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] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [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 num-traits v0.2.16 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.44 [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] Checking log v0.4.19 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling openh264-sys2 v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.9.3 [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 flexi_logger v0.25.6 [INFO] [stderr] Checking openh264 v0.4.2 [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 rustic_rtmp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log, [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log, [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] = 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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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: 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: 18 warnings emitted [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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.97s [INFO] running `Command { std: "docker" "inspect" "be28112fe5ca261259a54f650d7a384c8f294fd910461d39c87c0cba94cc83b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be28112fe5ca261259a54f650d7a384c8f294fd910461d39c87c0cba94cc83b5", kill_on_drop: false }` [INFO] [stdout] be28112fe5ca261259a54f650d7a384c8f294fd910461d39c87c0cba94cc83b5 [INFO] checking retrokiller543/rustic_rtmp against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retrokiller543/rustic_rtmp on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5577fa49c708dcca23277e87a1314cceb48cc6b731f78e5a33508217f61fa0de [INFO] running `Command { std: "docker" "start" "-a" "5577fa49c708dcca23277e87a1314cceb48cc6b731f78e5a33508217f61fa0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5577fa49c708dcca23277e87a1314cceb48cc6b731f78e5a33508217f61fa0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5577fa49c708dcca23277e87a1314cceb48cc6b731f78e5a33508217f61fa0de", kill_on_drop: false }` [INFO] [stdout] 5577fa49c708dcca23277e87a1314cceb48cc6b731f78e5a33508217f61fa0de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86eb8cb92a547bb0558cfb1c19d6e7ef4e6bcbc3d489cae928e798c0b5025b2b [INFO] running `Command { std: "docker" "start" "-a" "86eb8cb92a547bb0558cfb1c19d6e7ef4e6bcbc3d489cae928e798c0b5025b2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [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] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-task 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 num-traits v0.2.16 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling openh264-sys2 v0.4.1 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking failure v0.1.8 [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 openh264 v0.4.2 [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 rustic_rtmp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log, [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log, [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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: 22 warnings emitted [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] 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(()), [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] 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(()), [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] 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(()), [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] 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(()), [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.52s [INFO] running `Command { std: "docker" "inspect" "86eb8cb92a547bb0558cfb1c19d6e7ef4e6bcbc3d489cae928e798c0b5025b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86eb8cb92a547bb0558cfb1c19d6e7ef4e6bcbc3d489cae928e798c0b5025b2b", kill_on_drop: false }` [INFO] [stdout] 86eb8cb92a547bb0558cfb1c19d6e7ef4e6bcbc3d489cae928e798c0b5025b2b