Aug 30 14:02:07.600 INFO checking i2cdev-l3gd20-0.1.3 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 14:02:07.600 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 14:02:07.600 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 14:02:07.786 INFO blam! 5d925a7bdac74003daae1e1484f7c01305c441b5a3d5f9f3df2b93b4378ec6ee Aug 30 14:02:07.788 INFO running `"docker" "start" "-a" "5d925a7bdac74003daae1e1484f7c01305c441b5a3d5f9f3df2b93b4378ec6ee"` Aug 30 14:02:08.517 INFO kablam! Checking i2cdev-l3gd20 v0.1.3 (file:///source) Aug 30 14:02:09.494 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:09.494 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:09.494 INFO kablam! | Aug 30 14:02:09.494 INFO kablam! 20 | use std::thread; Aug 30 14:02:09.494 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:09.494 INFO kablam! | Aug 30 14:02:09.494 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:09.494 INFO kablam! Aug 30 14:02:09.494 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:09.494 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:09.494 INFO kablam! | Aug 30 14:02:09.494 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:09.494 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.494 INFO kablam! Aug 30 14:02:09.495 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:09.495 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:09.495 INFO kablam! | Aug 30 14:02:09.495 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:09.495 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.495 INFO kablam! Aug 30 14:02:09.495 INFO kablam! warning: unused import: `BigEndian` Aug 30 14:02:09.495 INFO kablam! --> src/lib.rs:26:28 Aug 30 14:02:09.495 INFO kablam! | Aug 30 14:02:09.495 INFO kablam! 26 | use byteorder::{ByteOrder, BigEndian, LittleEndian}; Aug 30 14:02:09.495 INFO kablam! | ^^^^^^^^^ Aug 30 14:02:09.495 INFO kablam! Aug 30 14:02:09.758 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:09.758 INFO kablam! --> src/lib.rs:146:29 Aug 30 14:02:09.758 INFO kablam! | Aug 30 14:02:09.758 INFO kablam! 146 | pub fn new(mut gyro: T, mut gyro_settings: L3GD20GyroscopeSettings) -> Result, T::Error> { Aug 30 14:02:09.758 INFO kablam! | ----^^^^^^^^^^^^^ Aug 30 14:02:09.758 INFO kablam! | | Aug 30 14:02:09.758 INFO kablam! | help: remove this `mut` Aug 30 14:02:09.758 INFO kablam! | Aug 30 14:02:09.758 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:09.758 INFO kablam! Aug 30 14:02:09.758 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:09.758 INFO kablam! --> src/lib.rs:194:13 Aug 30 14:02:09.759 INFO kablam! | Aug 30 14:02:09.759 INFO kablam! 194 | let mut g_gain: f32; Aug 30 14:02:09.759 INFO kablam! | ----^^^^^^ Aug 30 14:02:09.759 INFO kablam! | | Aug 30 14:02:09.759 INFO kablam! | help: remove this `mut` Aug 30 14:02:09.759 INFO kablam! Aug 30 14:02:09.772 INFO kablam! warning: variant `dps250` should have a camel case name such as `Dps250` Aug 30 14:02:09.772 INFO kablam! --> src/lib.rs:74:5 Aug 30 14:02:09.772 INFO kablam! | Aug 30 14:02:09.772 INFO kablam! 74 | dps250 = 0b00, Aug 30 14:02:09.772 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:09.772 INFO kablam! | Aug 30 14:02:09.772 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:09.772 INFO kablam! Aug 30 14:02:09.772 INFO kablam! warning: variant `dps500` should have a camel case name such as `Dps500` Aug 30 14:02:09.772 INFO kablam! --> src/lib.rs:75:5 Aug 30 14:02:09.772 INFO kablam! | Aug 30 14:02:09.772 INFO kablam! 75 | dps500 = 0b01, Aug 30 14:02:09.772 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:09.772 INFO kablam! Aug 30 14:02:09.772 INFO kablam! warning: variant `dps2000` should have a camel case name such as `Dps2000` Aug 30 14:02:09.772 INFO kablam! --> src/lib.rs:76:5 Aug 30 14:02:09.772 INFO kablam! | Aug 30 14:02:09.772 INFO kablam! 76 | dps2000 = 0b10 Aug 30 14:02:09.772 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:09.772 INFO kablam! Aug 30 14:02:09.772 INFO kablam! warning: variant `HPCF_0` should have a camel case name such as `Hpcf0` Aug 30 14:02:09.772 INFO kablam! --> src/lib.rs:89:5 Aug 30 14:02:09.773 INFO kablam! | Aug 30 14:02:09.773 INFO kablam! 89 | HPCF_0 = 0b0000, Aug 30 14:02:09.773 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.773 INFO kablam! Aug 30 14:02:09.773 INFO kablam! warning: variant `HPCF_1` should have a camel case name such as `Hpcf1` Aug 30 14:02:09.773 INFO kablam! --> src/lib.rs:90:5 Aug 30 14:02:09.773 INFO kablam! | Aug 30 14:02:09.773 INFO kablam! 90 | HPCF_1 = 0b0001, Aug 30 14:02:09.773 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.773 INFO kablam! Aug 30 14:02:09.773 INFO kablam! warning: variant `HPCF_2` should have a camel case name such as `Hpcf2` Aug 30 14:02:09.773 INFO kablam! --> src/lib.rs:91:5 Aug 30 14:02:09.773 INFO kablam! | Aug 30 14:02:09.773 INFO kablam! 91 | HPCF_2 = 0b0010, Aug 30 14:02:09.773 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.773 INFO kablam! Aug 30 14:02:09.773 INFO kablam! warning: variant `HPCF_3` should have a camel case name such as `Hpcf3` Aug 30 14:02:09.773 INFO kablam! --> src/lib.rs:92:5 Aug 30 14:02:09.773 INFO kablam! | Aug 30 14:02:09.773 INFO kablam! 92 | HPCF_3 = 0b0011, Aug 30 14:02:09.773 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.773 INFO kablam! Aug 30 14:02:09.773 INFO kablam! warning: variant `HPCF_4` should have a camel case name such as `Hpcf4` Aug 30 14:02:09.773 INFO kablam! --> src/lib.rs:93:5 Aug 30 14:02:09.773 INFO kablam! | Aug 30 14:02:09.773 INFO kablam! 93 | HPCF_4 = 0b0100, Aug 30 14:02:09.773 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.773 INFO kablam! Aug 30 14:02:09.773 INFO kablam! warning: variant `HPCF_5` should have a camel case name such as `Hpcf5` Aug 30 14:02:09.773 INFO kablam! --> src/lib.rs:94:5 Aug 30 14:02:09.774 INFO kablam! | Aug 30 14:02:09.774 INFO kablam! 94 | HPCF_5 = 0b0101, Aug 30 14:02:09.774 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.774 INFO kablam! Aug 30 14:02:09.774 INFO kablam! warning: variant `HPCF_6` should have a camel case name such as `Hpcf6` Aug 30 14:02:09.774 INFO kablam! --> src/lib.rs:95:5 Aug 30 14:02:09.774 INFO kablam! | Aug 30 14:02:09.774 INFO kablam! 95 | HPCF_6 = 0b0110, Aug 30 14:02:09.774 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.774 INFO kablam! Aug 30 14:02:09.774 INFO kablam! warning: variant `HPCF_7` should have a camel case name such as `Hpcf7` Aug 30 14:02:09.774 INFO kablam! --> src/lib.rs:96:5 Aug 30 14:02:09.774 INFO kablam! | Aug 30 14:02:09.774 INFO kablam! 96 | HPCF_7 = 0b0111, Aug 30 14:02:09.774 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.774 INFO kablam! Aug 30 14:02:09.774 INFO kablam! warning: variant `HPCF_8` should have a camel case name such as `Hpcf8` Aug 30 14:02:09.774 INFO kablam! --> src/lib.rs:97:5 Aug 30 14:02:09.774 INFO kablam! | Aug 30 14:02:09.774 INFO kablam! 97 | HPCF_8 = 0b1000, Aug 30 14:02:09.774 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.774 INFO kablam! Aug 30 14:02:09.774 INFO kablam! warning: variant `HPCF_9` should have a camel case name such as `Hpcf9` Aug 30 14:02:09.774 INFO kablam! --> src/lib.rs:98:5 Aug 30 14:02:09.774 INFO kablam! | Aug 30 14:02:09.774 INFO kablam! 98 | HPCF_9 = 0b1001, Aug 30 14:02:09.774 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.774 INFO kablam! Aug 30 14:02:09.774 INFO kablam! warning: structure field `DR` should have a snake case name such as `dr` Aug 30 14:02:09.775 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:09.775 INFO kablam! | Aug 30 14:02:09.775 INFO kablam! 105 | pub DR: L3GD20GyroscopeDataRate, Aug 30 14:02:09.775 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.775 INFO kablam! | Aug 30 14:02:09.775 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 14:02:09.775 INFO kablam! Aug 30 14:02:09.775 INFO kablam! warning: structure field `BW` should have a snake case name such as `bw` Aug 30 14:02:09.775 INFO kablam! --> src/lib.rs:107:5 Aug 30 14:02:09.775 INFO kablam! | Aug 30 14:02:09.775 INFO kablam! 107 | pub BW: L3GD20GyroscopeBandwidth, Aug 30 14:02:09.775 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.775 INFO kablam! Aug 30 14:02:09.784 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:09.784 INFO kablam! --> src/lib.rs:217:9 Aug 30 14:02:09.784 INFO kablam! | Aug 30 14:02:09.784 INFO kablam! 217 | self.gyroscope.write(&[L3GD20_INCREMENT_BIT | L3GD20_OUT]); Aug 30 14:02:09.784 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.784 INFO kablam! | Aug 30 14:02:09.784 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 14:02:09.784 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:09.784 INFO kablam! Aug 30 14:02:09.785 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:09.785 INFO kablam! --> src/lib.rs:218:9 Aug 30 14:02:09.785 INFO kablam! | Aug 30 14:02:09.785 INFO kablam! 218 | self.gyroscope.read(&mut buf); Aug 30 14:02:09.785 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.785 INFO kablam! | Aug 30 14:02:09.785 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:09.785 INFO kablam! Aug 30 14:02:09.843 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:09.843 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:09.843 INFO kablam! | Aug 30 14:02:09.843 INFO kablam! 20 | use std::thread; Aug 30 14:02:09.843 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:09.843 INFO kablam! | Aug 30 14:02:09.843 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:09.843 INFO kablam! Aug 30 14:02:09.843 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:09.843 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:09.843 INFO kablam! | Aug 30 14:02:09.843 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:09.843 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.843 INFO kablam! Aug 30 14:02:09.844 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:09.844 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:09.844 INFO kablam! | Aug 30 14:02:09.844 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:09.844 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.844 INFO kablam! Aug 30 14:02:09.844 INFO kablam! warning: unused import: `BigEndian` Aug 30 14:02:09.844 INFO kablam! --> src/lib.rs:26:28 Aug 30 14:02:09.844 INFO kablam! | Aug 30 14:02:09.844 INFO kablam! 26 | use byteorder::{ByteOrder, BigEndian, LittleEndian}; Aug 30 14:02:09.844 INFO kablam! | ^^^^^^^^^ Aug 30 14:02:09.844 INFO kablam! Aug 30 14:02:10.110 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:10.110 INFO kablam! --> src/lib.rs:146:29 Aug 30 14:02:10.110 INFO kablam! | Aug 30 14:02:10.110 INFO kablam! 146 | pub fn new(mut gyro: T, mut gyro_settings: L3GD20GyroscopeSettings) -> Result, T::Error> { Aug 30 14:02:10.110 INFO kablam! | ----^^^^^^^^^^^^^ Aug 30 14:02:10.110 INFO kablam! | | Aug 30 14:02:10.110 INFO kablam! | help: remove this `mut` Aug 30 14:02:10.110 INFO kablam! | Aug 30 14:02:10.110 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:10.110 INFO kablam! Aug 30 14:02:10.110 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:10.110 INFO kablam! --> src/lib.rs:194:13 Aug 30 14:02:10.110 INFO kablam! | Aug 30 14:02:10.110 INFO kablam! 194 | let mut g_gain: f32; Aug 30 14:02:10.110 INFO kablam! | ----^^^^^^ Aug 30 14:02:10.110 INFO kablam! | | Aug 30 14:02:10.110 INFO kablam! | help: remove this `mut` Aug 30 14:02:10.110 INFO kablam! Aug 30 14:02:10.118 INFO kablam! warning: variant `dps250` should have a camel case name such as `Dps250` Aug 30 14:02:10.118 INFO kablam! --> src/lib.rs:74:5 Aug 30 14:02:10.118 INFO kablam! | Aug 30 14:02:10.118 INFO kablam! 74 | dps250 = 0b00, Aug 30 14:02:10.118 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:10.118 INFO kablam! | Aug 30 14:02:10.118 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:10.118 INFO kablam! Aug 30 14:02:10.118 INFO kablam! warning: variant `dps500` should have a camel case name such as `Dps500` Aug 30 14:02:10.119 INFO kablam! --> src/lib.rs:75:5 Aug 30 14:02:10.119 INFO kablam! | Aug 30 14:02:10.119 INFO kablam! 75 | dps500 = 0b01, Aug 30 14:02:10.119 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:10.119 INFO kablam! Aug 30 14:02:10.119 INFO kablam! warning: variant `dps2000` should have a camel case name such as `Dps2000` Aug 30 14:02:10.119 INFO kablam! --> src/lib.rs:76:5 Aug 30 14:02:10.119 INFO kablam! | Aug 30 14:02:10.119 INFO kablam! 76 | dps2000 = 0b10 Aug 30 14:02:10.119 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:10.119 INFO kablam! Aug 30 14:02:10.119 INFO kablam! warning: variant `HPCF_0` should have a camel case name such as `Hpcf0` Aug 30 14:02:10.119 INFO kablam! --> src/lib.rs:89:5 Aug 30 14:02:10.119 INFO kablam! | Aug 30 14:02:10.119 INFO kablam! 89 | HPCF_0 = 0b0000, Aug 30 14:02:10.119 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.119 INFO kablam! Aug 30 14:02:10.119 INFO kablam! warning: variant `HPCF_1` should have a camel case name such as `Hpcf1` Aug 30 14:02:10.119 INFO kablam! --> src/lib.rs:90:5 Aug 30 14:02:10.119 INFO kablam! | Aug 30 14:02:10.119 INFO kablam! 90 | HPCF_1 = 0b0001, Aug 30 14:02:10.119 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.119 INFO kablam! Aug 30 14:02:10.119 INFO kablam! warning: variant `HPCF_2` should have a camel case name such as `Hpcf2` Aug 30 14:02:10.119 INFO kablam! --> src/lib.rs:91:5 Aug 30 14:02:10.119 INFO kablam! | Aug 30 14:02:10.119 INFO kablam! 91 | HPCF_2 = 0b0010, Aug 30 14:02:10.119 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.119 INFO kablam! Aug 30 14:02:10.120 INFO kablam! warning: variant `HPCF_3` should have a camel case name such as `Hpcf3` Aug 30 14:02:10.120 INFO kablam! --> src/lib.rs:92:5 Aug 30 14:02:10.120 INFO kablam! | Aug 30 14:02:10.120 INFO kablam! 92 | HPCF_3 = 0b0011, Aug 30 14:02:10.120 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.120 INFO kablam! Aug 30 14:02:10.120 INFO kablam! warning: variant `HPCF_4` should have a camel case name such as `Hpcf4` Aug 30 14:02:10.120 INFO kablam! --> src/lib.rs:93:5 Aug 30 14:02:10.120 INFO kablam! | Aug 30 14:02:10.120 INFO kablam! 93 | HPCF_4 = 0b0100, Aug 30 14:02:10.120 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.120 INFO kablam! Aug 30 14:02:10.120 INFO kablam! warning: variant `HPCF_5` should have a camel case name such as `Hpcf5` Aug 30 14:02:10.120 INFO kablam! --> src/lib.rs:94:5 Aug 30 14:02:10.120 INFO kablam! | Aug 30 14:02:10.120 INFO kablam! 94 | HPCF_5 = 0b0101, Aug 30 14:02:10.120 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.120 INFO kablam! Aug 30 14:02:10.120 INFO kablam! warning: variant `HPCF_6` should have a camel case name such as `Hpcf6` Aug 30 14:02:10.120 INFO kablam! --> src/lib.rs:95:5 Aug 30 14:02:10.120 INFO kablam! | Aug 30 14:02:10.120 INFO kablam! 95 | HPCF_6 = 0b0110, Aug 30 14:02:10.120 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.120 INFO kablam! Aug 30 14:02:10.120 INFO kablam! warning: variant `HPCF_7` should have a camel case name such as `Hpcf7` Aug 30 14:02:10.120 INFO kablam! --> src/lib.rs:96:5 Aug 30 14:02:10.120 INFO kablam! | Aug 30 14:02:10.120 INFO kablam! 96 | HPCF_7 = 0b0111, Aug 30 14:02:10.120 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.121 INFO kablam! Aug 30 14:02:10.121 INFO kablam! warning: variant `HPCF_8` should have a camel case name such as `Hpcf8` Aug 30 14:02:10.121 INFO kablam! --> src/lib.rs:97:5 Aug 30 14:02:10.121 INFO kablam! | Aug 30 14:02:10.121 INFO kablam! 97 | HPCF_8 = 0b1000, Aug 30 14:02:10.121 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.121 INFO kablam! Aug 30 14:02:10.121 INFO kablam! warning: variant `HPCF_9` should have a camel case name such as `Hpcf9` Aug 30 14:02:10.121 INFO kablam! --> src/lib.rs:98:5 Aug 30 14:02:10.121 INFO kablam! | Aug 30 14:02:10.121 INFO kablam! 98 | HPCF_9 = 0b1001, Aug 30 14:02:10.121 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:10.121 INFO kablam! Aug 30 14:02:10.121 INFO kablam! warning: structure field `DR` should have a snake case name such as `dr` Aug 30 14:02:10.121 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:10.121 INFO kablam! | Aug 30 14:02:10.121 INFO kablam! 105 | pub DR: L3GD20GyroscopeDataRate, Aug 30 14:02:10.121 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:10.121 INFO kablam! | Aug 30 14:02:10.121 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 14:02:10.121 INFO kablam! Aug 30 14:02:10.121 INFO kablam! warning: structure field `BW` should have a snake case name such as `bw` Aug 30 14:02:10.121 INFO kablam! --> src/lib.rs:107:5 Aug 30 14:02:10.121 INFO kablam! | Aug 30 14:02:10.121 INFO kablam! 107 | pub BW: L3GD20GyroscopeBandwidth, Aug 30 14:02:10.121 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:10.121 INFO kablam! Aug 30 14:02:10.135 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:10.135 INFO kablam! --> src/lib.rs:217:9 Aug 30 14:02:10.135 INFO kablam! | Aug 30 14:02:10.135 INFO kablam! 217 | self.gyroscope.write(&[L3GD20_INCREMENT_BIT | L3GD20_OUT]); Aug 30 14:02:10.135 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:10.135 INFO kablam! | Aug 30 14:02:10.135 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 14:02:10.135 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:10.135 INFO kablam! Aug 30 14:02:10.135 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:10.135 INFO kablam! --> src/lib.rs:218:9 Aug 30 14:02:10.135 INFO kablam! | Aug 30 14:02:10.135 INFO kablam! 218 | self.gyroscope.read(&mut buf); Aug 30 14:02:10.136 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:10.136 INFO kablam! | Aug 30 14:02:10.136 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:10.136 INFO kablam! Aug 30 14:02:10.910 INFO kablam! warning: unused import: `Vec3` Aug 30 14:02:10.910 INFO kablam! --> src/main.rs:5:28 Aug 30 14:02:10.910 INFO kablam! | Aug 30 14:02:10.910 INFO kablam! 5 | use i2csensors::{Gyroscope,Vec3}; Aug 30 14:02:10.910 INFO kablam! | ^^^^ Aug 30 14:02:10.910 INFO kablam! | Aug 30 14:02:10.910 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:10.910 INFO kablam! Aug 30 14:02:10.934 INFO kablam! warning: unused import: `Vec3` Aug 30 14:02:10.934 INFO kablam! --> src/main.rs:5:28 Aug 30 14:02:10.934 INFO kablam! | Aug 30 14:02:10.934 INFO kablam! 5 | use i2csensors::{Gyroscope,Vec3}; Aug 30 14:02:10.934 INFO kablam! | ^^^^ Aug 30 14:02:10.934 INFO kablam! | Aug 30 14:02:10.934 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:10.934 INFO kablam! Aug 30 14:02:11.004 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:11.004 INFO kablam! --> src/main.rs:30:9 Aug 30 14:02:11.004 INFO kablam! | Aug 30 14:02:11.004 INFO kablam! 30 | let mut i2cdev = get_linux_l3gd20_i2c_device().unwrap(); Aug 30 14:02:11.004 INFO kablam! | ----^^^^^^ Aug 30 14:02:11.004 INFO kablam! | | Aug 30 14:02:11.004 INFO kablam! | help: remove this `mut` Aug 30 14:02:11.004 INFO kablam! | Aug 30 14:02:11.004 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:11.004 INFO kablam! Aug 30 14:02:11.027 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:11.027 INFO kablam! --> src/main.rs:30:9 Aug 30 14:02:11.027 INFO kablam! | Aug 30 14:02:11.027 INFO kablam! 30 | let mut i2cdev = get_linux_l3gd20_i2c_device().unwrap(); Aug 30 14:02:11.027 INFO kablam! | ----^^^^^^ Aug 30 14:02:11.027 INFO kablam! | | Aug 30 14:02:11.027 INFO kablam! | help: remove this `mut` Aug 30 14:02:11.027 INFO kablam! | Aug 30 14:02:11.027 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:11.027 INFO kablam! Aug 30 14:02:11.040 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.61s Aug 30 14:02:11.046 INFO kablam! su: No module specific data is present Aug 30 14:02:11.452 INFO running `"docker" "rm" "-f" "5d925a7bdac74003daae1e1484f7c01305c441b5a3d5f9f3df2b93b4378ec6ee"` Aug 30 14:02:11.544 INFO blam! 5d925a7bdac74003daae1e1484f7c01305c441b5a3d5f9f3df2b93b4378ec6ee