[INFO] cloning repository https://github.com/jmatyas/NEO6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmatyas/NEO6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmatyas%2FNEO6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmatyas%2FNEO6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ea8a1190a2906a09ed69d625e5ce78f11c2aa7a [INFO] testing jmatyas/NEO6 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmatyas%2FNEO6" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmatyas/NEO6 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-20/source/.cargo/config [INFO] started tweaking git repo https://github.com/jmatyas/NEO6 [INFO] finished tweaking git repo https://github.com/jmatyas/NEO6 [INFO] tweaked toml for git repo https://github.com/jmatyas/NEO6 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/jmatyas/NEO6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jmatyas/stm32f1xx-hal` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33a16b50e41ad31d7781962fdc188318c6c051786aa28a202a85d3885c2c6bd [INFO] running `Command { std: "docker" "start" "-a" "a33a16b50e41ad31d7781962fdc188318c6c051786aa28a202a85d3885c2c6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33a16b50e41ad31d7781962fdc188318c6c051786aa28a202a85d3885c2c6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33a16b50e41ad31d7781962fdc188318c6c051786aa28a202a85d3885c2c6bd", kill_on_drop: false }` [INFO] [stdout] a33a16b50e41ad31d7781962fdc188318c6c051786aa28a202a85d3885c2c6bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89ec77fc8302031a7498354a0c53cd3e980eb69546c47eb922a1ca51206dfca8 [INFO] running `Command { std: "docker" "start" "-a" "89ec77fc8302031a7498354a0c53cd3e980eb69546c47eb922a1ca51206dfca8", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling stm32f1 v0.13.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-can v0.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling defmt v0.1.3 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling defmt-macros v0.1.1 [INFO] [stderr] Compiling bxcan v0.4.0 [INFO] [stderr] Compiling stm32f1xx-hal v0.7.0 (https://github.com/jmatyas/stm32f1xx-hal?branch=jma-dev#89275630) [INFO] [stderr] Compiling stm_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `GPS_Statement` should have an upper camel case name [INFO] [stdout] --> src/neo.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum GPS_Statement { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GpsStatement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GPS_Data` should have an upper camel case name [INFO] [stdout] --> src/neo.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct GPS_Data { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GpsData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rx1`, `Tx3`, `USART1`, `USART2` [INFO] [stdout] --> src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | serial::{self, Serial, Config, Rx1, Rx3, Tx1, Tx3}, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 28 | stm32::{interrupt, NVIC, USART1, USART2, USART3}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_rx` [INFO] [stdout] --> src/main.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let (mut log_tx, log_rx) = serial.split(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gps_tx` [INFO] [stdout] --> src/main.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | let (gps_tx, gps_rx) = gps_serial.split(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gps_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/neo.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/neo.rs:402:37 [INFO] [stdout] | [INFO] [stdout] 402 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neo.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | let mut data = match self.last_read { [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/neo.rs:422:30 [INFO] [stdout] | [INFO] [stdout] 422 | let (mut cmd, mut info) = self.get_line(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neo.rs:422:39 [INFO] [stdout] | [INFO] [stdout] 422 | let (mut cmd, mut info) = self.get_line(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut serial = Serial::usart1( [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/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tx_pin = gpiob.pb10.into_alternate_push_pull(&mut gpiob.crh); [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/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rx_pin = gpiob.pb11.into_floating_input(&mut gpiob.crh); [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/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut neo = NEO6::new(tx_buff, gps_rx, log_tx); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GPGSV` [INFO] [stdout] --> src/neo.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | GPGSV, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GPS_Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/neo.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ID` [INFO] [stdout] --> src/neo.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | ID: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GPSSatellite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/neo.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elevation` [INFO] [stdout] --> src/neo.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | elevation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GPSSatellite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/neo.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `azimuth` [INFO] [stdout] --> src/neo.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | azimuth: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GPSSatellite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/neo.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `SNR` [INFO] [stdout] --> src/neo.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | SNR: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GPSSatellite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/neo.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `satellites_no` [INFO] [stdout] --> src/neo.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn satellites_no(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen` [INFO] [stdout] --> src/neo.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn listen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unlisten` [INFO] [stdout] --> src/neo.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn unlisten(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data_valid` [INFO] [stdout] --> src/neo.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn data_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `receive` [INFO] [stdout] --> src/neo.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn receive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line` [INFO] [stdout] --> src/neo.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn get_line(&self) -> (GPS_Statement, &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_is_empty` [INFO] [stdout] --> src/neo.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn buffer_is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_buffer` [INFO] [stdout] --> src/neo.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/neo.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn parse(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_rmc` [INFO] [stdout] --> src/neo.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn parse_rmc(&self, data: &[u8]) -> RMC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_gsa` [INFO] [stdout] --> src/neo.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn parse_gsa(&self, data: &[u8]) -> GSA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_gga` [INFO] [stdout] --> src/neo.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn parse_gga(&self, data: &[u8]) -> GGA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data` [INFO] [stdout] --> src/neo.rs:624:17 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn get_data(&self) -> GPS_Data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `report` [INFO] [stdout] --> src/neo.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn report(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `neo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GPS_VALID` should have a snake case name [INFO] [stdout] --> src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut GPS_VALID=false; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `gps_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/neo.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | ID: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SNR` should have a snake case name [INFO] [stdout] --> src/neo.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | SNR: u8, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `snr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neo.rs:642:1 [INFO] [stdout] | [INFO] [stdout] 642 | / neo! { [INFO] [stdout] 643 | | NEO6: ( [INFO] [stdout] 644 | | USART1, [INFO] [stdout] 645 | | Rx1, [INFO] [stdout] ... | [INFO] [stdout] 664 | | ), [INFO] [stdout] 665 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.3szo2dj7qmes6gkz.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-f3b52103174a577b/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-b95b2822543073e0/out" "-L" "/opt/rustwide/target/debug/build/defmt-f742360e3792c814/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-2d20a21abab17c8d/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32f1xx_hal-e8c2fafa1e6f662d.rlib" "/opt/rustwide/target/debug/deps/libbxcan-230d3b7bd2e6c19e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/libembedded_can-e2b8936351a05900.rlib" "/opt/rustwide/target/debug/deps/libdefmt-af1c5c9a6a17ab44.rlib" "/opt/rustwide/target/debug/deps/libheapless-d0c4b700ea6a6367.rlib" "/opt/rustwide/target/debug/deps/libhash32-7e63686c9a2326f5.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-b8aa7095a78525a2.rlib" "/opt/rustwide/target/debug/deps/libcast-574a29a883c97f74.rlib" "/opt/rustwide/target/debug/deps/libembedded_dma-198fb5c6e25d0608.rlib" "/opt/rustwide/target/debug/deps/libstm32f1-4b58aaeb3cde901d.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-96c77e46bc467532.rlib" "/opt/rustwide/target/debug/deps/libaligned-dd86a263dea3a69f.rlib" "/opt/rustwide/target/debug/deps/libas_slice-9d8e10e4b21493d2.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-741e8a55e1a3965a.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-eaf7d2005f1708d3.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-6dccc6e9beffb3ab.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-88ee5b85cec3ff92.rlib" "/opt/rustwide/target/debug/deps/libtypenum-5a3a7afc00429bcf.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-25558395028c94f7.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-7d5814ccae42de09.rlib" "/opt/rustwide/target/debug/deps/libvcell-f61acefe00d126b4.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-9e5b8b383b9c1de0.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-e452d02b240231f0.rlib" "/opt/rustwide/target/debug/deps/libr0-0456af7b0c154e1a.rlib" "/opt/rustwide/target/debug/deps/libpanic_semihosting-cc769ac4732e5110.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-dbae1d3207b040f6.rlib" "/opt/rustwide/target/debug/deps/libvoid-8ddff08a32a4354c.rlib" "/opt/rustwide/target/debug/deps/libnb-e49350949bd009f4.rlib" "/opt/rustwide/target/debug/deps/libnb-8b1978b732c3a55b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.6.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.1/src/interrupt.rs:48: undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm_tracker-e35bab3ce11b00eb.stm_tracker.b43598c0-cgu.6.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.1/src/interrupt.rs:38: undefined reference to `__cpsid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m-25558395028c94f7.rlib(cortex_m-25558395028c94f7.cortex_m.bb87dfd0-cgu.12.rcgu.o): in function `cortex_m::register::primask::read::read_raw': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.1/src/register/primask.rs:30: undefined reference to `__primask_r' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm_tracker` due to 2 previous errors; 56 warnings emitted [INFO] running `Command { std: "docker" "inspect" "89ec77fc8302031a7498354a0c53cd3e980eb69546c47eb922a1ca51206dfca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ec77fc8302031a7498354a0c53cd3e980eb69546c47eb922a1ca51206dfca8", kill_on_drop: false }` [INFO] [stdout] 89ec77fc8302031a7498354a0c53cd3e980eb69546c47eb922a1ca51206dfca8