[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a 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-59/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-59/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idoroseman/aprs-tool on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-59/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-59/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc936fdb8caf873c86df0c6b5d76dd96728ded6bf638a59beafe52fb4fb81833 [INFO] running `Command { std: "docker" "start" "-a" "dc936fdb8caf873c86df0c6b5d76dd96728ded6bf638a59beafe52fb4fb81833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc936fdb8caf873c86df0c6b5d76dd96728ded6bf638a59beafe52fb4fb81833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc936fdb8caf873c86df0c6b5d76dd96728ded6bf638a59beafe52fb4fb81833", kill_on_drop: false }` [INFO] [stdout] dc936fdb8caf873c86df0c6b5d76dd96728ded6bf638a59beafe52fb4fb81833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c114af07f641fc66470238b56f634223643d92e72fa9833db5c7d658d9ef71f8 [INFO] running `Command { std: "docker" "start" "-a" "c114af07f641fc66470238b56f634223643d92e72fa9833db5c7d658d9ef71f8", kill_on_drop: false }` [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/aprs/modemfx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aprs::modem` [INFO] [stdout] --> src/aprs-encode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use aprs::modem; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aprs-encode.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let reader: Box = match input { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/aprs/modemfx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aprs::modem` [INFO] [stdout] --> src/aprs-encode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use aprs::modem; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aprs-encode.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let reader: Box = match input { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: 20 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.02s [INFO] running `Command { std: "docker" "inspect" "c114af07f641fc66470238b56f634223643d92e72fa9833db5c7d658d9ef71f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c114af07f641fc66470238b56f634223643d92e72fa9833db5c7d658d9ef71f8", kill_on_drop: false }` [INFO] [stdout] c114af07f641fc66470238b56f634223643d92e72fa9833db5c7d658d9ef71f8