[INFO] cloning repository https://github.com/dholroyd/lowly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dholroyd/lowly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdholroyd%2Flowly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdholroyd%2Flowly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52ccb6cf7bf26fc0cf56791bd4afa5d2c78b5b46 [INFO] checking dholroyd/lowly against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdholroyd%2Flowly" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dholroyd/lowly on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dholroyd/lowly [INFO] finished tweaking git repo https://github.com/dholroyd/lowly [INFO] tweaked toml for git repo https://github.com/dholroyd/lowly written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/dholroyd/lowly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90b91d705b7183f14683d0c064b6d4619bdfb63002716d744d5325d051b8c667 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "90b91d705b7183f14683d0c064b6d4619bdfb63002716d744d5325d051b8c667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90b91d705b7183f14683d0c064b6d4619bdfb63002716d744d5325d051b8c667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90b91d705b7183f14683d0c064b6d4619bdfb63002716d744d5325d051b8c667", kill_on_drop: false }` [INFO] [stdout] 90b91d705b7183f14683d0c064b6d4619bdfb63002716d744d5325d051b8c667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1acbee0c7bebc8052dfa4ec290d1d6c17c538d59662992bd8f092527d0607d06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1acbee0c7bebc8052dfa4ec290d1d6c17c538d59662992bd8f092527d0607d06", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking bitreader v0.3.1 [INFO] [stderr] Checking rtp-rs v0.3.0 [INFO] [stderr] Checking adts-reader v0.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking tokio-trace-core v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking h264-reader v0.3.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking hexdump v0.1.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking mpeg2ts-reader v0.13.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.21 [INFO] [stderr] Checking h2 v0.1.21 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling trackable_derive v0.1.2 [INFO] [stderr] Checking trackable v0.2.22 [INFO] [stderr] Checking hyper v0.12.29 [INFO] [stderr] Checking mpeg2ts v0.1.1 [INFO] [stderr] Checking mse_fmp4 v0.1.2 (https://github.com/dholroyd/mse_fmp4.git#8baeeef4) [INFO] [stderr] Checking lowly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/mpegts/h264.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{SystemTime, SystemTimeError, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mpegts/mod.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | self.carry += (Timestamp::MAX.value() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> src/net.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/mpegts/h264.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{SystemTime, SystemTimeError, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mpegts/mod.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | self.carry += (Timestamp::MAX.value() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> src/net.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut track_ref = store.get_track(id).unwrap(); [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/http.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut track_ref = store.get_track(id).unwrap(); [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: unused import: `itertools::misc::Slice` [INFO] [stdout] --> src/store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::misc::Slice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_pid` [INFO] [stdout] --> src/mpegts/mod.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | program_pid, stream_type: StreamType::H264, pmt, stream_info, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `program_pid: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pmt` [INFO] [stdout] --> src/mpegts/mod.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | program_pid, stream_type: StreamType::H264, pmt, stream_info, [INFO] [stdout] | ^^^ help: try ignoring the field: `pmt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_pid` [INFO] [stdout] --> src/mpegts/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | program_pid, stream_type: StreamType::Adts, pmt, stream_info, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `program_pid: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pmt` [INFO] [stdout] --> src/mpegts/mod.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | program_pid, stream_type: StreamType::Adts, pmt, stream_info, [INFO] [stdout] | ^^^ help: try ignoring the field: `pmt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn start(&mut self, ctx: &mut h264_reader::Context, header: h264_reader::nal::NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/mpegts/h264.rs:95:68 [INFO] [stdout] | [INFO] [stdout] 95 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | fn end(&mut self, ctx: &mut h264_reader::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_part` [INFO] [stdout] --> src/mpegts/h264.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let date_part = if time_diff < -(DateTime::DAY_MICROS as i64 / 2) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_bit` [INFO] [stdout] --> src/mpegts/adts.rs:31:189 [INFO] [stdout] | [INFO] [stdout] 31 | ...der::SamplingFrequency, private_bit: u8, channels: adts_reader::ChannelConfiguration, originality: adts_reader::Originality, home: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_fullness` [INFO] [stdout] --> src/mpegts/adts.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn payload(&mut self, buffer_fullness: u16, no_of_blocks: u8, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_fullness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_of_blocks` [INFO] [stdout] --> src/mpegts/adts.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn payload(&mut self, buffer_fullness: u16, no_of_blocks: u8, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_of_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("Core::run() failed"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | .find(|(i, seg)| seg.dts == dts) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|(i, sample)| sample ) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_ts` [INFO] [stdout] --> src/store.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let max_ts = self.max_ts.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skipped` [INFO] [stdout] --> src/store.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut skipped = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skipped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discontinuity` [INFO] [stdout] --> src/store.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut discontinuity = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discontinuity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/store.rs:476:32 [INFO] [stdout] | [INFO] [stdout] 476 | .map(move |(index, sample)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | .find(|(i, seg)| seg.dts == dts) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/store.rs:758:27 [INFO] [stdout] | [INFO] [stdout] 758 | .map(|(index, track)| TrackInfo { track_id: TrackId(index) } ) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | fn master_manifest(&mut self, req: Request) -> ImmediateFut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/http.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | ... Err(e) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/http.rs:358:33 [INFO] [stdout] | [INFO] [stdout] 358 | ... Err(e) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | fn initialisation_segment(req: Request, track_ref: store::TrackRef) -> ImmediateFut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | fn fmp4_segment(req: Request, track_ref: store::TrackRef, sample_id: String, rest: Option) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::misc::Slice` [INFO] [stdout] --> src/store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::misc::Slice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_pid` [INFO] [stdout] --> src/mpegts/mod.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | program_pid, stream_type: StreamType::H264, pmt, stream_info, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `program_pid: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pmt` [INFO] [stdout] --> src/mpegts/mod.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | program_pid, stream_type: StreamType::H264, pmt, stream_info, [INFO] [stdout] | ^^^ help: try ignoring the field: `pmt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_pid` [INFO] [stdout] --> src/mpegts/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | program_pid, stream_type: StreamType::Adts, pmt, stream_info, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `program_pid: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pmt` [INFO] [stdout] --> src/mpegts/mod.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | program_pid, stream_type: StreamType::Adts, pmt, stream_info, [INFO] [stdout] | ^^^ help: try ignoring the field: `pmt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn start(&mut self, ctx: &mut h264_reader::Context, header: h264_reader::nal::NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/mpegts/h264.rs:95:68 [INFO] [stdout] | [INFO] [stdout] 95 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | fn end(&mut self, ctx: &mut h264_reader::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_part` [INFO] [stdout] --> src/mpegts/h264.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let date_part = if time_diff < -(DateTime::DAY_MICROS as i64 / 2) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | fn start(&mut self, ctx: &mut h264_reader::Context, header: NalHeader) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/mpegts/h264.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | fn push(&mut self, ctx: &mut h264_reader::Context, buf: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_bit` [INFO] [stdout] --> src/mpegts/adts.rs:31:189 [INFO] [stdout] | [INFO] [stdout] 31 | ...der::SamplingFrequency, private_bit: u8, channels: adts_reader::ChannelConfiguration, originality: adts_reader::Originality, home: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_fullness` [INFO] [stdout] --> src/mpegts/adts.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn payload(&mut self, buffer_fullness: u16, no_of_blocks: u8, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_fullness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_of_blocks` [INFO] [stdout] --> src/mpegts/adts.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn payload(&mut self, buffer_fullness: u16, no_of_blocks: u8, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_of_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("Core::run() failed"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | .find(|(i, seg)| seg.dts == dts) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|(i, sample)| sample ) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_ts` [INFO] [stdout] --> src/store.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let max_ts = self.max_ts.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skipped` [INFO] [stdout] --> src/store.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut skipped = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skipped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discontinuity` [INFO] [stdout] --> src/store.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut discontinuity = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discontinuity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/store.rs:476:32 [INFO] [stdout] | [INFO] [stdout] 476 | .map(move |(index, sample)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/store.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | .find(|(i, seg)| seg.dts == dts) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/store.rs:758:27 [INFO] [stdout] | [INFO] [stdout] 758 | .map(|(index, track)| TrackInfo { track_id: TrackId(index) } ) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | fn master_manifest(&mut self, req: Request) -> ImmediateFut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/http.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | ... Err(e) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/http.rs:358:33 [INFO] [stdout] | [INFO] [stdout] 358 | ... Err(e) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | fn initialisation_segment(req: Request, track_ref: store::TrackRef) -> ImmediateFut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/http.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | fn fmp4_segment(req: Request, track_ref: store::TrackRef, sample_id: String, rest: Option) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut skipped = false; [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/store.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut discontinuity = false; [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/http.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut track_ref = store.get_track(id).unwrap(); [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/store.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut skipped = false; [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/store.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut discontinuity = false; [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/http.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut track_ref = store.get_track(id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `slice_type` [INFO] [stdout] --> src/mpegts/h264.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_time_datum` [INFO] [stdout] --> src/mpegts/h264.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | local_time_datum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pts_to_utc_offset` [INFO] [stdout] --> src/mpegts/h264.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pts_to_utc_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_pts_to_utc` [INFO] [stdout] --> src/mpegts/h264.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn adjust_pts_to_utc(&self, pts_dts: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPartsForSegment` [INFO] [stdout] --> src/store.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | NoPartsForSegment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pps` [INFO] [stdout] --> src/store.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pps: nal::pps::PicParameterSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pps` [INFO] [stdout] --> src/store.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pps(&self) -> &h264_reader::nal::pps::PicParameterSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/store.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sample(&self, dts: i64) -> Option<&Sample> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rfc6381_codec` [INFO] [stdout] --> src/store.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn rfc6381_codec(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AvcPartIterator` [INFO] [stdout] --> src/store.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | struct AvcPartIterator<'track> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_bitrate` [INFO] [stdout] --> src/store.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | max_bitrate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/store.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn sample(&self, dts: i64) -> Option<&Sample> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `continuous` [INFO] [stdout] --> src/store.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | continuous: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_continuous` [INFO] [stdout] --> src/store.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn is_continuous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_avc_codec_bytes` [INFO] [stdout] --> src/store.rs:629:4 [INFO] [stdout] | [INFO] [stdout] 629 | fn make_avc_codec_bytes(sps: &nal::sps::SeqParameterSet) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unimplemented` [INFO] [stdout] --> src/http.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | Unimplemented [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/http.rs:907:8 [INFO] [stdout] | [INFO] [stdout] 907 | fn duration(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_time` [INFO] [stdout] --> src/http.rs:915:8 [INFO] [stdout] | [INFO] [stdout] 915 | fn start_time(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/http.rs:929:8 [INFO] [stdout] | [INFO] [stdout] 929 | fn duration(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_time` [INFO] [stdout] --> src/http.rs:937:8 [INFO] [stdout] | [INFO] [stdout] 937 | fn start_time(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `slice_type` [INFO] [stdout] --> src/mpegts/h264.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_time_datum` [INFO] [stdout] --> src/mpegts/h264.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | local_time_datum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pts_to_utc_offset` [INFO] [stdout] --> src/mpegts/h264.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pts_to_utc_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_pts_to_utc` [INFO] [stdout] --> src/mpegts/h264.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn adjust_pts_to_utc(&self, pts_dts: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPartsForSegment` [INFO] [stdout] --> src/store.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | NoPartsForSegment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pps` [INFO] [stdout] --> src/store.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pps: nal::pps::PicParameterSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pps` [INFO] [stdout] --> src/store.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pps(&self) -> &h264_reader::nal::pps::PicParameterSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/store.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sample(&self, dts: i64) -> Option<&Sample> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rfc6381_codec` [INFO] [stdout] --> src/store.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn rfc6381_codec(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AvcPartIterator` [INFO] [stdout] --> src/store.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | struct AvcPartIterator<'track> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_bitrate` [INFO] [stdout] --> src/store.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | max_bitrate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/store.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn sample(&self, dts: i64) -> Option<&Sample> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `continuous` [INFO] [stdout] --> src/store.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | continuous: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_continuous` [INFO] [stdout] --> src/store.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn is_continuous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_avc_codec_bytes` [INFO] [stdout] --> src/store.rs:629:4 [INFO] [stdout] | [INFO] [stdout] 629 | fn make_avc_codec_bytes(sps: &nal::sps::SeqParameterSet) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unimplemented` [INFO] [stdout] --> src/http.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | Unimplemented [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/http.rs:907:8 [INFO] [stdout] | [INFO] [stdout] 907 | fn duration(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_time` [INFO] [stdout] --> src/http.rs:915:8 [INFO] [stdout] | [INFO] [stdout] 915 | fn start_time(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/http.rs:929:8 [INFO] [stdout] | [INFO] [stdout] 929 | fn duration(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_time` [INFO] [stdout] --> src/http.rs:937:8 [INFO] [stdout] | [INFO] [stdout] 937 | fn start_time(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.12s [INFO] running `Command { std: "docker" "inspect" "1acbee0c7bebc8052dfa4ec290d1d6c17c538d59662992bd8f092527d0607d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acbee0c7bebc8052dfa4ec290d1d6c17c538d59662992bd8f092527d0607d06", kill_on_drop: false }` [INFO] [stdout] 1acbee0c7bebc8052dfa4ec290d1d6c17c538d59662992bd8f092527d0607d06