[INFO] cloning repository https://github.com/topecongiro/rtsp-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/topecongiro/rtsp-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Frtsp-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Frtsp-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be0f745128d04f873c8ce8d7554d087b4487f0d7 [INFO] testing topecongiro/rtsp-client against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Frtsp-client" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/topecongiro/rtsp-client on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/topecongiro/rtsp-client [INFO] finished tweaking git repo https://github.com/topecongiro/rtsp-client [INFO] tweaked toml for git repo https://github.com/topecongiro/rtsp-client written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/topecongiro/rtsp-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.14 [INFO] [stderr] Downloaded sdp-types v0.1.3 [INFO] [stderr] Downloaded http-auth v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d362483bb49bc32791833deef37d75b9295600d340ff89378244ebb843d257e [INFO] running `Command { std: "docker" "start" "-a" "2d362483bb49bc32791833deef37d75b9295600d340ff89378244ebb843d257e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d362483bb49bc32791833deef37d75b9295600d340ff89378244ebb843d257e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d362483bb49bc32791833deef37d75b9295600d340ff89378244ebb843d257e", kill_on_drop: false }` [INFO] [stdout] 2d362483bb49bc32791833deef37d75b9295600d340ff89378244ebb843d257e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67355ee2614251182124e3a216a581e73b28268a3e3840d59bd687349581821e [INFO] running `Command { std: "docker" "start" "-a" "67355ee2614251182124e3a216a581e73b28268a3e3840d59bd687349581821e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling http-auth v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling sdp-types v0.1.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rtsp_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> src/rtsp.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RangeInclusive` [INFO] [stdout] --> src/rtsp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::RangeInclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/rtsp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdpSocket` [INFO] [stdout] --> src/rtsp.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::{net::{TcpStream, UdpSocket}, io::AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rtp::RtpStream` [INFO] [stdout] --> src/rtsp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::rtp::RtpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/rtsp/data_stream.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/rtsp/data_stream.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::net::{ToSocketAddrs, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/rtsp/data_stream.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/rtsp/data_stream.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `video_stream` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let video_stream = client.connect(url).await?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_video_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut buf = vec![0u8; 1500]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf2` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut buf2 = vec![0u8; 1500]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_buf2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interval` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut interval = interval(Duration::from_secs(5)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut client = RtspClient::new(config).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut buf = vec![0u8; 1500]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut buf2 = vec![0u8; 1500]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut interval = interval(Duration::from_secs(5)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rtp.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn new(socket: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rtsp_stream` [INFO] [stdout] --> src/rtsp.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rtsp_stream: RtspStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_stream` [INFO] [stdout] --> src/rtsp.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | data_stream: DataStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> src/rtsp.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) async fn play(&mut self, session: u32) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Options` [INFO] [stdout] --> src/rtsp.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtspMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, Clone, Copy, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Play` [INFO] [stdout] --> src/rtsp.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtspMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, Clone, Copy, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response` [INFO] [stdout] --> src/rtsp.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | response: RtspResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DescribeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `session` [INFO] [stdout] --> src/rtsp.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | pub(crate) fn session(&self) -> &sdp_types::Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response` [INFO] [stdout] --> src/rtsp.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | response: RtspResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PlayResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response` [INFO] [stdout] --> src/rtsp.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | response: RtspResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SetupResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:317:10 [INFO] [stdout] | [INFO] [stdout] 317 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `session` [INFO] [stdout] --> src/rtsp.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | session: (u32, usize), // (Session ID, timeout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SetupResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtsp.rs:317:10 [INFO] [stdout] | [INFO] [stdout] 317 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timeout` [INFO] [stdout] --> src/rtsp.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | pub(crate) fn timeout(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `session_id` [INFO] [stdout] --> src/rtsp.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | pub(crate) fn session_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/rtsp.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | version: RtspVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `padding` [INFO] [stdout] --> src/rtp/packet.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | padding: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extension_header` [INFO] [stdout] --> src/rtp/packet.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extension_header: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_marker` [INFO] [stdout] --> src/rtp/packet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | has_marker: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `csrc_count` [INFO] [stdout] --> src/rtp/packet.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | csrc_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `payload_type` [INFO] [stdout] --> src/rtp/packet.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | payload_type: RtpPayloadType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/rtp/packet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/rtp/packet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ssrc` [INFO] [stdout] --> src/rtp/packet.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ssrc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `csrc_list` [INFO] [stdout] --> src/rtp/packet.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | csrc_list: [u32; 15], // FIXME: not ideal :( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `payload` [INFO] [stdout] --> src/rtp/packet.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | payload: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RtpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/rtp/packet.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtensionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contents` [INFO] [stdout] --> src/rtp/packet.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | contents: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExtensionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rtp/packet.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rtp_socket` [INFO] [stdout] --> src/rtsp/data_stream.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | rtp_socket: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rtcp_socket` [INFO] [stdout] --> src/rtsp/data_stream.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | rtcp_socket: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ports` [INFO] [stdout] --> src/rtsp/data_stream.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ports: RtpRtcpPorts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local` [INFO] [stdout] --> src/rtsp/data_stream.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | local: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `peer` [INFO] [stdout] --> src/rtsp/data_stream.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | peer: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_rtp_port` [INFO] [stdout] --> src/rtsp/data_stream.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn local_rtp_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_rtcp_port` [INFO] [stdout] --> src/rtsp/data_stream.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn local_rtcp_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `punch_firewall_hole` [INFO] [stdout] --> src/rtsp/data_stream.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | async fn punch_firewall_hole( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / env_logger::builder() [INFO] [stdout] 37 | | .filter_module(env!("CARGO_PKG_NAME"), LevelFilter::Trace) [INFO] [stdout] 38 | | .try_init(); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtsp_client` due to 2 previous errors; 55 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67355ee2614251182124e3a216a581e73b28268a3e3840d59bd687349581821e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67355ee2614251182124e3a216a581e73b28268a3e3840d59bd687349581821e", kill_on_drop: false }` [INFO] [stdout] 67355ee2614251182124e3a216a581e73b28268a3e3840d59bd687349581821e