[INFO] fetching crate icm20689_driver_rs 0.0.2... [INFO] checking icm20689_driver_rs-0.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate icm20689_driver_rs 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate icm20689_driver_rs 0.0.2 [INFO] finished tweaking crates.io crate icm20689_driver_rs 0.0.2 [INFO] tweaked toml for crates.io crate icm20689_driver_rs 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icm20689_driver_rs 0.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be7f1d6818562f37ffdbc3e1261236ebaf60f586d5d1f829c60c7235c9692bf [INFO] running `Command { std: "docker" "start" "-a" "2be7f1d6818562f37ffdbc3e1261236ebaf60f586d5d1f829c60c7235c9692bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be7f1d6818562f37ffdbc3e1261236ebaf60f586d5d1f829c60c7235c9692bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be7f1d6818562f37ffdbc3e1261236ebaf60f586d5d1f829c60c7235c9692bf", kill_on_drop: false }` [INFO] [stdout] 2be7f1d6818562f37ffdbc3e1261236ebaf60f586d5d1f829c60c7235c9692bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2703516bc711e72961053fd4a094b2600635d39040279021ff9134a600eaceb3 [INFO] running `Command { std: "docker" "start" "-a" "2703516bc711e72961053fd4a094b2600635d39040279021ff9134a600eaceb3", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking icm20689_driver_rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `GYRO_RANGE_250DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | GYRO_RANGE_250DPS = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange250dps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_500DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | GYRO_RANGE_500DPS = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange500dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_1000DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GYRO_RANGE_1000DPS = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange1000dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_2000DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | GYRO_RANGE_2000DPS = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange2000dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_2G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ACCEL_RANGE_2G = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange2g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_4G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ACCEL_RANGE_4G = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange4g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_8G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | ACCEL_RANGE_8G = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange8g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_16G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | ACCEL_RANGE_16G = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange16g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_218HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ACCEL_DLPF_218HZ = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf218hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_99HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ACCEL_DLPF_99HZ = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf99hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_45HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ACCEL_DLPF_45HZ = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf45hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_21HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ACCEL_DLPF_21HZ = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf21hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ACCEL_DLPF_10HZ = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ACCEL_DLPF_5HZ = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_420HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ACCEL_DLPF_420HZ = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf420hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_1046HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ACCEL_DLPF_1046HZ = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf1046hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_250HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | GYRO_DLPF_250HZ = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf250hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_176HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | GYRO_DLPF_176HZ = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf176hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_92HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | GYRO_DLPF_92HZ = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf92hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_41HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | GYRO_DLPF_41HZ = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf41hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_20HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | GYRO_DLPF_20HZ = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf20hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | GYRO_DLPF_10HZ = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | GYRO_DLPF_5HZ = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_MAX` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | DLPF_BANDWIDTH_MAX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidthMax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_218HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | DLPF_BANDWIDTH_218HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth218hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_99HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | DLPF_BANDWIDTH_99HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth99hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_45HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | DLPF_BANDWIDTH_45HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth45hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_21HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | DLPF_BANDWIDTH_21HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth21hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | DLPF_BANDWIDTH_10HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DLPF_BANDWIDTH_5HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/lib.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | ((gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - ((gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ), [INFO] [stdout] 212 + (gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_250DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | GYRO_RANGE_250DPS = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange250dps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_500DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | GYRO_RANGE_500DPS = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange500dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_1000DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GYRO_RANGE_1000DPS = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange1000dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_RANGE_2000DPS` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | GYRO_RANGE_2000DPS = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroRange2000dps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_2G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ACCEL_RANGE_2G = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange2g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_4G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ACCEL_RANGE_4G = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange4g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_8G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | ACCEL_RANGE_8G = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange8g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_RANGE_16G` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | ACCEL_RANGE_16G = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelRange16g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_218HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ACCEL_DLPF_218HZ = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf218hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_99HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ACCEL_DLPF_99HZ = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf99hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_45HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ACCEL_DLPF_45HZ = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf45hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_21HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ACCEL_DLPF_21HZ = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf21hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ACCEL_DLPF_10HZ = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ACCEL_DLPF_5HZ = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_420HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ACCEL_DLPF_420HZ = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf420hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACCEL_DLPF_1046HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ACCEL_DLPF_1046HZ = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccelDlpf1046hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_250HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | GYRO_DLPF_250HZ = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf250hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_176HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | GYRO_DLPF_176HZ = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf176hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_92HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | GYRO_DLPF_92HZ = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf92hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_41HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | GYRO_DLPF_41HZ = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf41hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_20HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | GYRO_DLPF_20HZ = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf20hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | GYRO_DLPF_10HZ = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GYRO_DLPF_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | GYRO_DLPF_5HZ = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GyroDlpf5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_MAX` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | DLPF_BANDWIDTH_MAX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidthMax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_218HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | DLPF_BANDWIDTH_218HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth218hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_99HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | DLPF_BANDWIDTH_99HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth99hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_45HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | DLPF_BANDWIDTH_45HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth45hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_21HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | DLPF_BANDWIDTH_21HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth21hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_10HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | DLPF_BANDWIDTH_10HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth10hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLPF_BANDWIDTH_5HZ` should have an upper camel case name [INFO] [stdout] --> src/icm20689_abstractions.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DLPF_BANDWIDTH_5HZ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DlpfBandwidth5hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/lib.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | ((gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - ((gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ), [INFO] [stdout] 212 + (gyro_config_value & 0xfc) | abs::GYRO_FCHOICE_B_8173HZ, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BD` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | BD: [f64; 3], [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | B: [f64; 3], [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | S: [f64; 3], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BD` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | BD: [f64; 3], [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | B: [f64; 3], [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | S: [f64; 3], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | drop(calib); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Calibration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 379 - drop(calib); [INFO] [stdout] 379 + let _ = calib; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `temp_scale` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const temp_scale: f64 = 333.87f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - pub const temp_scale: f64 = 333.87f64; [INFO] [stdout] 14 + pub const TEMP_SCALE: f64 = 333.87f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `temp_offset` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const temp_offset: f64 = 21.0f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 15 - pub const temp_offset: f64 = 21.0f64; [INFO] [stdout] 15 + pub const TEMP_OFFSET: f64 = 21.0f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const g: f64 = 9.807; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - pub const g: f64 = 9.807; [INFO] [stdout] 17 + pub const G: f64 = 9.807; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2r` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const d2r: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub const d2r: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] 18 + pub const D2R: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `r2d` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const r2d: f64 = 1f64 / d2r; // convert radian to degrees [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `R2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | drop(calib); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Calibration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 379 - drop(calib); [INFO] [stdout] 379 + let _ = calib; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tX` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const tX: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 37 - pub const tX: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] 37 + pub const T_X: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tY` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const tY: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 38 - pub const tY: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] 38 + pub const T_Y: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tZ` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const tZ: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - pub const tZ: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] 39 + pub const T_Z: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `temp_scale` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const temp_scale: f64 = 333.87f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - pub const temp_scale: f64 = 333.87f64; [INFO] [stdout] 14 + pub const TEMP_SCALE: f64 = 333.87f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `temp_offset` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const temp_offset: f64 = 21.0f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 15 - pub const temp_offset: f64 = 21.0f64; [INFO] [stdout] 15 + pub const TEMP_OFFSET: f64 = 21.0f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const g: f64 = 9.807; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - pub const g: f64 = 9.807; [INFO] [stdout] 17 + pub const G: f64 = 9.807; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2r` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const d2r: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub const d2r: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] 18 + pub const D2R: f64 = 3.14159265359f64 / 180.0f64; // convert degrees to radian [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `r2d` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const r2d: f64 = 1f64 / d2r; // convert radian to degrees [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `R2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tX` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const tX: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 37 - pub const tX: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] 37 + pub const T_X: [f64; 3] = [0f64, -1f64, 0f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tY` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const tY: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 38 - pub const tY: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] 38 + pub const T_Y: [f64; 3] = [1f64, 0f64, 0f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tZ` should have an upper case name [INFO] [stdout] --> src/icm20689_abstractions.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const tZ: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - pub const tZ: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] 39 + pub const T_Z: [f64; 3] = [0f64, 0f64, 1f64]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "2703516bc711e72961053fd4a094b2600635d39040279021ff9134a600eaceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2703516bc711e72961053fd4a094b2600635d39040279021ff9134a600eaceb3", kill_on_drop: false }` [INFO] [stdout] 2703516bc711e72961053fd4a094b2600635d39040279021ff9134a600eaceb3