[INFO] cloning repository https://github.com/idoroseman/aprs-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idoroseman/aprs-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoroseman%2Faprs-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoroseman%2Faprs-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faf5d13b9e12a018e72ab68638c2c3052d659206 [INFO] checking idoroseman/aprs-tool against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoroseman%2Faprs-tool" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idoroseman/aprs-tool on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-116/source/.cargo/config [INFO] started tweaking git repo https://github.com/idoroseman/aprs-tool [INFO] finished tweaking git repo https://github.com/idoroseman/aprs-tool [INFO] tweaked toml for git repo https://github.com/idoroseman/aprs-tool written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/idoroseman/aprs-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031f138dab47e1d9e3f040c6a67caa77f5a7ecc264e276d9c1b7e6cc476f3f88 [INFO] running `Command { std: "docker" "start" "-a" "031f138dab47e1d9e3f040c6a67caa77f5a7ecc264e276d9c1b7e6cc476f3f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031f138dab47e1d9e3f040c6a67caa77f5a7ecc264e276d9c1b7e6cc476f3f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031f138dab47e1d9e3f040c6a67caa77f5a7ecc264e276d9c1b7e6cc476f3f88", kill_on_drop: false }` [INFO] [stdout] 031f138dab47e1d9e3f040c6a67caa77f5a7ecc264e276d9c1b7e6cc476f3f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cca6024736a3bc7ec764b1d58c6050d3037724324b2e9b3835fd99fb3f3ace5 [INFO] running `Command { std: "docker" "start" "-a" "6cca6024736a3bc7ec764b1d58c6050d3037724324b2e9b3835fd99fb3f3ace5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking aprs-utils v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/aprs-location.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/aprs-encode.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/aprs-message.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/aprs-encode.rs (2 fixes) [INFO] [stderr] Fixed src/aprs/modemfx.rs (1 fix) [INFO] [stdout] warning: static is never used: `BAUD` [INFO] [stdout] --> src/aprs/modem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static BAUD:i32 = 1200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOW_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HIGH_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BIT_DURATION` [INFO] [stdout] --> src/aprs/modem.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SAMPLE_RATE` [INFO] [stdout] --> src/aprs/modem.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PREAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `POSTAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_BEFORE` [INFO] [stdout] --> src/aprs/modem.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_AFTER` [INFO] [stdout] --> src/aprs/modem.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Modem` [INFO] [stdout] --> src/aprs/modem.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Modem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_freq` [INFO] [stdout] --> src/aprs/modem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_tone` [INFO] [stdout] --> src/aprs/modem.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bit` [INFO] [stdout] --> src/aprs/modem.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/aprs/modem.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_frame` [INFO] [stdout] --> src/aprs/modem.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn write_frame(&mut self, msg: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `_sine_table` should have an upper case name [INFO] [stdout] --> src/aprs/modemfx.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static _sine_table: &'static [u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `_SINE_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BAUD` [INFO] [stdout] --> src/aprs/modem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static BAUD:i32 = 1200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOW_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HIGH_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BIT_DURATION` [INFO] [stdout] --> src/aprs/modem.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SAMPLE_RATE` [INFO] [stdout] --> src/aprs/modem.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PREAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `POSTAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_BEFORE` [INFO] [stdout] --> src/aprs/modem.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_AFTER` [INFO] [stdout] --> src/aprs/modem.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Modem` [INFO] [stdout] --> src/aprs/modem.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Modem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_freq` [INFO] [stdout] --> src/aprs/modem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_tone` [INFO] [stdout] --> src/aprs/modem.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bit` [INFO] [stdout] --> src/aprs/modem.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/aprs/modem.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_frame` [INFO] [stdout] --> src/aprs/modem.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn write_frame(&mut self, msg: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `_sine_table` should have an upper case name [INFO] [stdout] --> src/aprs/modemfx.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static _sine_table: &'static [u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `_SINE_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.70s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking aprs-utils v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: static is never used: `BAUD` [INFO] [stdout] --> src/aprs/modem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static BAUD:i32 = 1200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOW_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HIGH_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BIT_DURATION` [INFO] [stdout] --> src/aprs/modem.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SAMPLE_RATE` [INFO] [stdout] --> src/aprs/modem.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PREAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `POSTAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_BEFORE` [INFO] [stdout] --> src/aprs/modem.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_AFTER` [INFO] [stdout] --> src/aprs/modem.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Modem` [INFO] [stdout] --> src/aprs/modem.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Modem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_freq` [INFO] [stdout] --> src/aprs/modem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_tone` [INFO] [stdout] --> src/aprs/modem.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bit` [INFO] [stdout] --> src/aprs/modem.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/aprs/modem.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_frame` [INFO] [stdout] --> src/aprs/modem.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn write_frame(&mut self, msg: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `_sine_table` should have an upper case name [INFO] [stdout] --> src/aprs/modemfx.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static _sine_table: &'static [u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `_SINE_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BAUD` [INFO] [stdout] --> src/aprs/modem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static BAUD:i32 = 1200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOW_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HIGH_FREQ` [INFO] [stdout] --> src/aprs/modem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BIT_DURATION` [INFO] [stdout] --> src/aprs/modem.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SAMPLE_RATE` [INFO] [stdout] --> src/aprs/modem.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PREAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `POSTAMBLE_LENGTH` [INFO] [stdout] --> src/aprs/modem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_BEFORE` [INFO] [stdout] --> src/aprs/modem.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FLAGS_AFTER` [INFO] [stdout] --> src/aprs/modem.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Modem` [INFO] [stdout] --> src/aprs/modem.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Modem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_freq` [INFO] [stdout] --> src/aprs/modem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_tone` [INFO] [stdout] --> src/aprs/modem.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bit` [INFO] [stdout] --> src/aprs/modem.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/aprs/modem.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_frame` [INFO] [stdout] --> src/aprs/modem.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn write_frame(&mut self, msg: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `_sine_table` should have an upper case name [INFO] [stdout] --> src/aprs/modemfx.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static _sine_table: &'static [u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `_SINE_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "6cca6024736a3bc7ec764b1d58c6050d3037724324b2e9b3835fd99fb3f3ace5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cca6024736a3bc7ec764b1d58c6050d3037724324b2e9b3835fd99fb3f3ace5", kill_on_drop: false }` [INFO] [stdout] 6cca6024736a3bc7ec764b1d58c6050d3037724324b2e9b3835fd99fb3f3ace5