[INFO] cloning repository https://github.com/purdue-orbital/usb_logger_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/purdue-orbital/usb_logger_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurdue-orbital%2Fusb_logger_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurdue-orbital%2Fusb_logger_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd85ca6d5a89dc4d7bac58a696b31496aa1b7e81 [INFO] checking purdue-orbital/usb_logger_demo/fd85ca6d5a89dc4d7bac58a696b31496aa1b7e81 against master#43ca9d18e333797f0aa3b525501a7cec8d61a96b for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurdue-orbital%2Fusb_logger_demo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/purdue-orbital/usb_logger_demo on toolchain 43ca9d18e333797f0aa3b525501a7cec8d61a96b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/purdue-orbital/usb_logger_demo [INFO] finished tweaking git repo https://github.com/purdue-orbital/usb_logger_demo [INFO] tweaked toml for git repo https://github.com/purdue-orbital/usb_logger_demo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/purdue-orbital/usb_logger_demo 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" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embassy-net-driver-channel v0.2.0 [INFO] [stderr] Downloaded embassy-time v0.3.2 [INFO] [stderr] Downloaded embassy-usb-logger v0.2.0 [INFO] [stderr] Downloaded usbd-hid-descriptors v0.7.1 [INFO] [stderr] Downloaded embassy-rp v0.2.0 [INFO] [stderr] Downloaded usbd-hid-macros v0.7.1 [INFO] [stderr] Downloaded embassy-executor-macros v0.5.0 [INFO] [stderr] Downloaded embassy-embedded-hal v0.2.0 [INFO] [stderr] Downloaded crc-any v2.5.0 [INFO] [stderr] Downloaded embassy-hal-internal v0.2.0 [INFO] [stderr] Downloaded embassy-executor v0.6.0 [INFO] [stderr] Downloaded usbd-hid v0.7.1 [INFO] [stderr] Downloaded embassy-usb v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2995f5d528198322f6c27b1beab7e642af388a5199236bfd9b54a3a423c9f7df [INFO] running `Command { std: "docker" "start" "-a" "2995f5d528198322f6c27b1beab7e642af388a5199236bfd9b54a3a423c9f7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2995f5d528198322f6c27b1beab7e642af388a5199236bfd9b54a3a423c9f7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2995f5d528198322f6c27b1beab7e642af388a5199236bfd9b54a3a423c9f7df", kill_on_drop: false }` [INFO] [stdout] 2995f5d528198322f6c27b1beab7e642af388a5199236bfd9b54a3a423c9f7df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd09cdba110b5dd1c6a5a8adf3b5723562e45b7b3b9a243179f25b91ad076672 [INFO] running `Command { std: "docker" "start" "-a" "fd09cdba110b5dd1c6a5a8adf3b5723562e45b7b3b9a243179f25b91ad076672", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling defmt v0.3.8 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling defmt-macros v0.3.9 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking critical-section v1.1.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling embassy-time-driver v0.1.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling embassy-time-queue-driver v0.1.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Checking embassy-futures v0.1.1 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling embassy-sync v0.3.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling usbd-hid-descriptors v0.7.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling embassy-sync v0.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling embassy-sync v0.6.0 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling fixed v1.28.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Compiling rp-pac v6.0.0 [INFO] [stderr] Compiling embassy-usb v0.2.0 [INFO] [stderr] Checking embassy-net-driver v0.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling embassy-hal-internal v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking embassy-net-driver-channel v0.2.0 [INFO] [stderr] Checking embedded-storage-async v0.4.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking ssmarshal v1.0.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling embassy-rp v0.2.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling usbd-hid-macros v0.7.1 [INFO] [stderr] Compiling embassy-executor v0.6.0 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling embassy-executor-macros v0.5.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling usb_logger_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking usbd-hid v0.7.1 [INFO] [stderr] Checking embassy-usb-driver v0.1.0 [INFO] [stderr] Checking embassy-time v0.3.2 [INFO] [stderr] Checking embassy-embedded-hal v0.2.0 [INFO] [stderr] Checking embassy-usb-logger v0.2.0 [INFO] [stderr] Compiling pio-parser v0.2.2 [INFO] [stderr] Compiling pio-proc v0.2.2 [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin0` [INFO] [stdout] --> src/main.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let mut pin0 = pwm::Pwm::new_output_a(p.PWM_SLICE0, p.PIN_0, config); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pin0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | let mut pin0 = pwm::Pwm::new_output_a(p.PWM_SLICE0, p.PIN_0, config); [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: unused variable: `pin0` [INFO] [stdout] --> src/main.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let mut pin0 = pwm::Pwm::new_output_a(p.PWM_SLICE0, p.PIN_0, config); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pin0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | let mut pin0 = pwm::Pwm::new_output_a(p.PWM_SLICE0, p.PIN_0, config); [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: unused variable: `e` [INFO] [stdout] --> src/adxl314.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | if let Err(e) = bus.write_read(ADDR, &[0x00], &mut buf) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/adxl314.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Err(e) = bus.write_read(ADDR, &[REG_DATAX0], &mut buf) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/adxl314.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | if let Err(e) = bus.write_read(ADDR, &[0x00], &mut buf) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/adxl314.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Err(e) = bus.write_read(ADDR, &[REG_DATAX0], &mut buf) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDR` is never used [INFO] [stdout] --> src/iis2mdc.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ADDR: u8 = 0b0011110; // need new bus ID here [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ids` is never used [INFO] [stdout] --> src/iis2mdc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_ids(bus: &mut impl I2c) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/iis2mdc.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn setup(bus: &mut impl I2c) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_x` is never used [INFO] [stdout] --> src/iis2mdc.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_x(bus: &mut impl I2c) -> f32 { //issue getting pressure here, refer to 4.4.1 config (pg20) write 1 to 0x36 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_y` is never used [INFO] [stdout] --> src/iis2mdc.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_y(bus: &mut impl I2c) -> f32 { //issue getting pressure here, refer to 4.4.1 config (pg20) write 1 to 0x36 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_z` is never used [INFO] [stdout] --> src/iis2mdc.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_z(bus: &mut impl I2c) -> f32 { //issue getting pressure here, refer to 4.4.1 config (pg20) write 1 to 0x36 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDR` is never used [INFO] [stdout] --> src/bma530.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ADDR: u8 = 0x18; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ids` is never used [INFO] [stdout] --> src/bma530.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_ids(bus: &mut impl I2c) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIFO_ADDR` is never used [INFO] [stdout] --> src/adxl314.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FIFO_ADDR: u8 = 0x38; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_POWER_CTL` is never used [INFO] [stdout] --> src/adxl314.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const REG_POWER_CTL: u8 = 0x2D; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_DATAX0` is never used [INFO] [stdout] --> src/adxl314.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const REG_DATAX0: u8 = 0x32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ids` is never used [INFO] [stdout] --> src/adxl314.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_ids(bus: &mut impl I2c) -> Result<[u8; 2], i8> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_acceleration` is never used [INFO] [stdout] --> src/adxl314.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_acceleration(bus: &mut impl I2c) -> Result<(f32, f32, f32), i8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Standby`, `Normal`, and `Forced` are never constructed [INFO] [stdout] --> src/bmp585.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum PowerMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 13 | Standby = 0b00, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Normal = 0b01, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Forced = 0b10, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PowerMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bmp585.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum OsrT { //note not all OSR rates are valid; refer to datasheet for appropriate combinations [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 20 | X1 = 0x0, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | X2 = 0x1, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | X4 = 0x2, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | X8 = 0x3, [INFO] [stdout] 24 | X16 = 0x4, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | X32 = 0x5, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | X64 = 0x6, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | X128 = 0x7 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bmp585.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum OsrP { //note not all OSR rates are valid; refer to datasheet for appropriate combinations [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 31 | X1 = 0x0 << 3, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | X2 = 0x1 << 3, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | X4 = 0x2 << 3, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | X8 = 0x3 << 3, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | X16 = 0x4 << 3, [INFO] [stdout] 36 | X32 = 0x5 << 3, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | X64 = 0x6 << 3, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | X128 = 0x7 << 3 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ids` is never used [INFO] [stdout] --> src/bmp585.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_ids(bus: &mut impl I2c) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_status` is never used [INFO] [stdout] --> src/bmp585.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_status(bus: &mut impl I2c) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_osr_press` is never used [INFO] [stdout] --> src/bmp585.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_osr_press(bus: &mut impl I2c) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usb_logger_demo` (bin "usb_logger_demo") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fd09cdba110b5dd1c6a5a8adf3b5723562e45b7b3b9a243179f25b91ad076672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd09cdba110b5dd1c6a5a8adf3b5723562e45b7b3b9a243179f25b91ad076672", kill_on_drop: false }` [INFO] [stdout] fd09cdba110b5dd1c6a5a8adf3b5723562e45b7b3b9a243179f25b91ad076672