[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#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoroseman%2Faprs-tool" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idoroseman/aprs-tool on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23a3b497f4fdf54af8cb69c2b72bf4c0194a19114ae7b9d68220fe77d023af7a [INFO] running `Command { std: "docker" "start" "-a" "23a3b497f4fdf54af8cb69c2b72bf4c0194a19114ae7b9d68220fe77d023af7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23a3b497f4fdf54af8cb69c2b72bf4c0194a19114ae7b9d68220fe77d023af7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a3b497f4fdf54af8cb69c2b72bf4c0194a19114ae7b9d68220fe77d023af7a", kill_on_drop: false }` [INFO] [stdout] 23a3b497f4fdf54af8cb69c2b72bf4c0194a19114ae7b9d68220fe77d023af7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bede499bdd656a2588927c07ed9cf3ba0da9fc4acdb3521826f63fbc84643343 [INFO] running `Command { std: "docker" "start" "-a" "bede499bdd656a2588927c07ed9cf3ba0da9fc4acdb3521826f63fbc84643343", kill_on_drop: false }` [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 vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.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: 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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | let reader: Box = match input { [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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | let reader: Box = match input { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BAUD` is never used [INFO] [stdout] --> src/aprs/modem.rs:4:8 [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 `LOW_FREQ` is never used [INFO] [stdout] --> src/aprs/modem.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HIGH_FREQ` is never used [INFO] [stdout] --> src/aprs/modem.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BIT_DURATION` is never used [INFO] [stdout] --> src/aprs/modem.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SAMPLE_RATE` is never used [INFO] [stdout] --> src/aprs/modem.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PREAMBLE_LENGTH` is never used [INFO] [stdout] --> src/aprs/modem.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POSTAMBLE_LENGTH` is never used [INFO] [stdout] --> src/aprs/modem.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FLAGS_BEFORE` is never used [INFO] [stdout] --> src/aprs/modem.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FLAGS_AFTER` is never used [INFO] [stdout] --> src/aprs/modem.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modem` is never constructed [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 items `new`, `write_freq`, `write_tone`, `write_bit`, `write_byte`, and `write_frame` are never used [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Modem { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [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: static `BAUD` is never used [INFO] [stdout] --> src/aprs/modem.rs:4:8 [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 `LOW_FREQ` is never used [INFO] [stdout] --> src/aprs/modem.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static LOW_FREQ:f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HIGH_FREQ` is never used [INFO] [stdout] --> src/aprs/modem.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static HIGH_FREQ:f32 = 2200.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BIT_DURATION` is never used [INFO] [stdout] --> src/aprs/modem.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static BIT_DURATION:f32 = 1.0 / (BAUD as f32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SAMPLE_RATE` is never used [INFO] [stdout] --> src/aprs/modem.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static SAMPLE_RATE:u32 = 48000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PREAMBLE_LENGTH` is never used [INFO] [stdout] --> src/aprs/modem.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static PREAMBLE_LENGTH:i32 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POSTAMBLE_LENGTH` is never used [INFO] [stdout] --> src/aprs/modem.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static POSTAMBLE_LENGTH:i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FLAGS_BEFORE` is never used [INFO] [stdout] --> src/aprs/modem.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static FLAGS_BEFORE:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FLAGS_AFTER` is never used [INFO] [stdout] --> src/aprs/modem.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static FLAGS_AFTER:i32 = 32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modem` is never constructed [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 items `new`, `write_freq`, `write_tone`, `write_bit`, `write_byte`, and `write_frame` are never used [INFO] [stdout] --> src/aprs/modem.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Modem { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn new(filename:&str)-> Modem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn write_freq(&mut self , freq:f32, duration:f32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn write_tone(&mut self , bit:bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn write_bit(&mut self, val:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn write_byte(&mut self , character:u8, bit_stuffing:bool){ [INFO] [stdout] | ^^^^^^^^^^ [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "bede499bdd656a2588927c07ed9cf3ba0da9fc4acdb3521826f63fbc84643343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bede499bdd656a2588927c07ed9cf3ba0da9fc4acdb3521826f63fbc84643343", kill_on_drop: false }` [INFO] [stdout] bede499bdd656a2588927c07ed9cf3ba0da9fc4acdb3521826f63fbc84643343