[INFO] fetching crate libscroll 0.2.4... [INFO] checking libscroll-0.2.4 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate libscroll 0.2.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libscroll 0.2.4 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libscroll 0.2.4 [INFO] finished tweaking crates.io crate libscroll 0.2.4 [INFO] tweaked toml for crates.io crate libscroll 0.2.4 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tini v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1b3cc4ea46668cbf03370f48c1e16501b641bcfe017d4b70b963e485846e0ba [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" "d1b3cc4ea46668cbf03370f48c1e16501b641bcfe017d4b70b963e485846e0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1b3cc4ea46668cbf03370f48c1e16501b641bcfe017d4b70b963e485846e0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b3cc4ea46668cbf03370f48c1e16501b641bcfe017d4b70b963e485846e0ba", kill_on_drop: false }` [INFO] [stdout] d1b3cc4ea46668cbf03370f48c1e16501b641bcfe017d4b70b963e485846e0ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff6efb13e83c5131f0e4da607fe79d82d9dac25ba3e82bfd9c51b9419cccfa00 [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" "ff6efb13e83c5131f0e4da607fe79d82d9dac25ba3e82bfd9c51b9419cccfa00", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking roots v0.0.6 [INFO] [stderr] Checking tini v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking flo_curves v0.3.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking libscroll v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/interpolate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/interpolate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interpolate.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 155 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 156 | [INFO] [stdout] 157 | / println!("Current events are {{{}}}", [INFO] [stdout] 158 | | self.events.iter().fold( [INFO] [stdout] 159 | | String::new(), |s, evt| { s.to_owned() + &evt.to_string()[..] })); [INFO] [stdout] | |_______________________________________________________________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interpolate.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 155 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 156 | [INFO] [stdout] 157 | / println!("Current events are {{{}}}", [INFO] [stdout] 158 | | self.events.iter().fold( [INFO] [stdout] 159 | | String::new(), |s, evt| { s.to_owned() + &evt.to_string()[..] })); [INFO] [stdout] | |_______________________________________________________________________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpolate.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 805 | panic!("not implemented"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 806 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/interpolate.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | fn flush(&mut self, time: Time) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_after` [INFO] [stdout] --> src/interpolate.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | let second_after = match first_after { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/interpolate.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let config = sconfig.read().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/interpolate.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let config = sconfig.read().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_vel` [INFO] [stdout] --> src/interpolate.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | let abs_vel = velocity.abs(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timedelta` [INFO] [stdout] --> src/interpolate.rs:517:21 [INFO] [stdout] | [INFO] [stdout] 517 | let timedelta = end - start; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timedelta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/interpolate.rs:760:51 [INFO] [stdout] | [INFO] [stdout] 760 | fn interpolate_constant(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/interpolate.rs:803:28 [INFO] [stdout] | [INFO] [stdout] 803 | fn interpolate_hermite(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/interpolate.rs:803:50 [INFO] [stdout] | [INFO] [stdout] 803 | fn interpolate_hermite(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/interpolate.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 805 | panic!("not implemented"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 806 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/interpolate.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | fn flush(&mut self, time: Time) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_after` [INFO] [stdout] --> src/interpolate.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | let second_after = match first_after { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/interpolate.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let config = sconfig.read().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/interpolate.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let config = sconfig.read().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_vel` [INFO] [stdout] --> src/interpolate.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | let abs_vel = velocity.abs(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timedelta` [INFO] [stdout] --> src/interpolate.rs:517:21 [INFO] [stdout] | [INFO] [stdout] 517 | let timedelta = end - start; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timedelta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/interpolate.rs:760:51 [INFO] [stdout] | [INFO] [stdout] 760 | fn interpolate_constant(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/interpolate.rs:803:28 [INFO] [stdout] | [INFO] [stdout] 803 | fn interpolate_hermite(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/interpolate.rs:803:50 [INFO] [stdout] | [INFO] [stdout] 803 | fn interpolate_hermite(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/circular_backqueue.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/circular_backqueue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `capacity` [INFO] [stdout] --> src/circular_backqueue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | capacity: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/circular_backqueue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | data: Vec, // vec presized to capacity [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/circular_backqueue.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get(&self, position: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/circular_backqueue.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn push(&mut self, object: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_cur` [INFO] [stdout] --> src/circular_backqueue.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn replace_cur(&mut self, object: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/circular_backqueue.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/circular_backqueue.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn all(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/circular_backqueue.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/circular_backqueue.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_or_avg` [INFO] [stdout] --> src/circular_backqueue.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_or_avg(&self, position: usize) -> (u64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Timestamp` [INFO] [stdout] --> src/interpolate.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type Timestamp = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TimeDeltaMicros` [INFO] [stdout] --> src/interpolate.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type TimeDeltaMicros = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redistributable` [INFO] [stdout] --> src/interpolate.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | redistributable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pan_start_time` [INFO] [stdout] --> src/interpolate.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pan_start_time: Time, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_events` [INFO] [stdout] --> src/interpolate.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn print_events(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_circuit_single_event` [INFO] [stdout] --> src/interpolate.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | fn short_circuit_single_event(&self) -> Position /* delta */ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_inactive` [INFO] [stdout] --> src/interpolate.rs:731:8 [INFO] [stdout] | [INFO] [stdout] 731 | fn set_inactive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rounds_to_zero` [INFO] [stdout] --> src/interpolate.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | fn rounds_to_zero(val: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpolate_constant` [INFO] [stdout] --> src/interpolate.rs:760:8 [INFO] [stdout] | [INFO] [stdout] 760 | fn interpolate_constant(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ranged_map.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> RangedMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_neighbors_to` [INFO] [stdout] --> src/ranged_map.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_neighbors_to(&self, point: Key) -> (Val, Val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_2nd_neighbors_to` [INFO] [stdout] --> src/ranged_map.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_2nd_neighbors_to(&self, point: Key) -> (Val, Val, Val, Val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VALUE_MULTIPLIER` [INFO] [stdout] --> src/lib.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | const VALUE_MULTIPLIER: f64 = 6.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content_height` [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | content_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content_width` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | content_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_source` [INFO] [stdout] --> src/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | current_source: Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_per_frame_log` [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | input_per_frame_log: circular_backqueue::ForgetfulLogQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kinetic` [INFO] [stdout] --> src/lib.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | fn kinetic(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/circular_backqueue.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/circular_backqueue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `capacity` [INFO] [stdout] --> src/circular_backqueue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | capacity: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/circular_backqueue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | data: Vec, // vec presized to capacity [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/circular_backqueue.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get(&self, position: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/circular_backqueue.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn push(&mut self, object: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_cur` [INFO] [stdout] --> src/circular_backqueue.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn replace_cur(&mut self, object: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/circular_backqueue.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/circular_backqueue.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn all(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/circular_backqueue.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/circular_backqueue.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_or_avg` [INFO] [stdout] --> src/circular_backqueue.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_or_avg(&self, position: usize) -> (u64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Timestamp` [INFO] [stdout] --> src/interpolate.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type Timestamp = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TimeDeltaMicros` [INFO] [stdout] --> src/interpolate.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type TimeDeltaMicros = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redistributable` [INFO] [stdout] --> src/interpolate.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | redistributable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pan_start_time` [INFO] [stdout] --> src/interpolate.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pan_start_time: Time, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_events` [INFO] [stdout] --> src/interpolate.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn print_events(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_circuit_single_event` [INFO] [stdout] --> src/interpolate.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | fn short_circuit_single_event(&self) -> Position /* delta */ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_inactive` [INFO] [stdout] --> src/interpolate.rs:731:8 [INFO] [stdout] | [INFO] [stdout] 731 | fn set_inactive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rounds_to_zero` [INFO] [stdout] --> src/interpolate.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | fn rounds_to_zero(val: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpolate_constant` [INFO] [stdout] --> src/interpolate.rs:760:8 [INFO] [stdout] | [INFO] [stdout] 760 | fn interpolate_constant(events: &Vec<&Event>, at: Time) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ranged_map.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> RangedMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_neighbors_to` [INFO] [stdout] --> src/ranged_map.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_neighbors_to(&self, point: Key) -> (Val, Val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_2nd_neighbors_to` [INFO] [stdout] --> src/ranged_map.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_2nd_neighbors_to(&self, point: Key) -> (Val, Val, Val, Val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VALUE_MULTIPLIER` [INFO] [stdout] --> src/lib.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | const VALUE_MULTIPLIER: f64 = 6.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content_height` [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | content_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content_width` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | content_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_height` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | viewport_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `viewport_width` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | viewport_width: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_source` [INFO] [stdout] --> src/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | current_source: Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_per_frame_log` [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | input_per_frame_log: circular_backqueue::ForgetfulLogQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kinetic` [INFO] [stdout] --> src/lib.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | fn kinetic(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "ff6efb13e83c5131f0e4da607fe79d82d9dac25ba3e82bfd9c51b9419cccfa00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6efb13e83c5131f0e4da607fe79d82d9dac25ba3e82bfd9c51b9419cccfa00", kill_on_drop: false }` [INFO] [stdout] ff6efb13e83c5131f0e4da607fe79d82d9dac25ba3e82bfd9c51b9419cccfa00