[INFO] fetching crate adafruit_nxp 0.1.3...
[INFO] testing adafruit_nxp-0.1.3 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate adafruit_nxp 0.1.3 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate adafruit_nxp 0.1.3
[INFO] finished tweaking crates.io crate adafruit_nxp 0.1.3
[INFO] tweaked toml for crates.io crate adafruit_nxp 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate adafruit_nxp 0.1.3 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate adafruit_nxp 0.1.3 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20cacc04a2662f01db202f3b33e7dd1e2b6889fa903db243c7d13045137c84ae
[INFO] running `Command { std: "docker" "start" "-a" "20cacc04a2662f01db202f3b33e7dd1e2b6889fa903db243c7d13045137c84ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20cacc04a2662f01db202f3b33e7dd1e2b6889fa903db243c7d13045137c84ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20cacc04a2662f01db202f3b33e7dd1e2b6889fa903db243c7d13045137c84ae", kill_on_drop: false }`
[INFO] [stdout] 20cacc04a2662f01db202f3b33e7dd1e2b6889fa903db243c7d13045137c84ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0d5ee717b5f45115dd00a0a05ea91ed7af75b90ea3fe1a20c302245308300f9
[INFO] running `Command { std: "docker" "start" "-a" "b0d5ee717b5f45115dd00a0a05ea91ed7af75b90ea3fe1a20c302245308300f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling simba v0.7.1
[INFO] [stderr]    Compiling nalgebra v0.31.0
[INFO] [stderr]    Compiling adafruit_nxp v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:291:23
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:444:23
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.02s
[INFO] running `Command { std: "docker" "inspect" "b0d5ee717b5f45115dd00a0a05ea91ed7af75b90ea3fe1a20c302245308300f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0d5ee717b5f45115dd00a0a05ea91ed7af75b90ea3fe1a20c302245308300f9", kill_on_drop: false }`
[INFO] [stdout] b0d5ee717b5f45115dd00a0a05ea91ed7af75b90ea3fe1a20c302245308300f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06eac65d654668523a6a9176e8f3dbed4d71d9a6cad800714eb63c4b490af259
[INFO] running `Command { std: "docker" "start" "-a" "06eac65d654668523a6a9176e8f3dbed4d71d9a6cad800714eb63c4b490af259", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embedded-hal v1.0.0-alpha.5
[INFO] [stderr]    Compiling spin_sleep v1.1.1
[INFO] [stderr]    Compiling adafruit_nxp v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:291:23
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:444:23
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rppal v0.13.1
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:291:23
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 291 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:444:23
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stdout]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.84s
[INFO] running `Command { std: "docker" "inspect" "06eac65d654668523a6a9176e8f3dbed4d71d9a6cad800714eb63c4b490af259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06eac65d654668523a6a9176e8f3dbed4d71d9a6cad800714eb63c4b490af259", kill_on_drop: false }`
[INFO] [stdout] 06eac65d654668523a6a9176e8f3dbed4d71d9a6cad800714eb63c4b490af259
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b4015b585fa811f453d558affaf4b20f68e3b1beeb7ab8e7289f67e664467b5a
[INFO] running `Command { std: "docker" "start" "-a" "b4015b585fa811f453d558affaf4b20f68e3b1beeb7ab8e7289f67e664467b5a", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/lib.rs:165:23
[INFO] [stderr]     |
[INFO] [stderr] 165 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stderr]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 165 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stderr]     |                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/lib.rs:291:23
[INFO] [stderr]     |
[INFO] [stderr] 291 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stderr]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 291 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stderr]     |                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/lib.rs:444:23
[INFO] [stderr]     |
[INFO] [stderr] 444 |     pub fn get_sensor(&self) -> Sensor {
[INFO] [stderr]     |                       ^^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 444 |     pub fn get_sensor(&self) -> Sensor<'_> {
[INFO] [stderr]     |                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `adafruit_nxp` (lib) generated 3 warnings
[INFO] [stderr] warning: `adafruit_nxp` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/adafruit_nxp-a351ad905562072e)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests adafruit_nxp
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_accelmag_osr_mode (line 1003) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 36) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::begin (line 711) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::calibration (line 1178) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_accel_range (line 790) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_accelmag_output_data_rate (line 878) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::read_data (line 1037) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::new (line 588) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::calibration (line 1172) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_gyro_output_data_rate (line 921) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_mag_oversampling_ratio (line 958) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_sensor_mode (line 843) ... FAILED
[INFO] [stdout] test src/lib.rs - AdafruitNXP<I2C>::set_gyro_range (line 815) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_accelmag_osr_mode (line 1003) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:1004:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 36) stdout ----
[INFO] [stdout] error: expected type, found `->`
[INFO] [stdout]  --> src/lib.rs:45:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn main() -> -> Result<(), SensorError<rppal::i2c::Error>> {
[INFO] [stdout]   |              ^^ expected type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::begin (line 711) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:713:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let ready = sensor.begin();
[INFO] [stdout]   |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::calibration (line 1178) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay`
[INFO] [stdout]  --> src/lib.rs:1179:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut delay = Delay::new();
[INFO] [stdout]   |                 ^^^^^ use of undeclared type `Delay`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rppal::hal::Delay;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1181:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | sensor.enable_calibration(true);
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1182:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | sensor.calibrate(5000, delay);
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_accel_range (line 790) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:791:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_accelmag_output_data_rate (line 878) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:879:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::read_data (line 1037) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1038:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | sensor.read_data();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1039:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | let acc = sensor.accel_sensor.get_scaled_data();
[INFO] [stdout]   |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1040:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let gyro = sensor.gyro_sensor.get_scaled_data();
[INFO] [stdout]   |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1041:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mag = sensor.mag_sensor.get_scaled_data();
[INFO] [stdout]   |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::new (line 588) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:589:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::calibration (line 1172) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1173:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | sensor.accel_sensor.set_offset(-0.1234, 0.1234, 0.4321);
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sensor` in this scope
[INFO] [stdout]  --> src/lib.rs:1174:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | sensor.gyro_sensor.set_offset(-0.1234, 0.1234, 0.4321);
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_gyro_output_data_rate (line 921) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:922:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_mag_oversampling_ratio (line 958) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:959:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_sensor_mode (line 843) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:844:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AdafruitNXP<I2C>::set_gyro_range (line 815) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `adafruit`
[INFO] [stdout]  --> src/lib.rs:816:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use adafruit::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `adafruit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `adafruit`, use `cargo add adafruit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 36)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::begin (line 711)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::calibration (line 1172)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::calibration (line 1178)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::new (line 588)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::read_data (line 1037)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_accel_range (line 790)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_accelmag_osr_mode (line 1003)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_accelmag_output_data_rate (line 878)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_gyro_output_data_rate (line 921)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_gyro_range (line 815)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_mag_oversampling_ratio (line 958)
[INFO] [stdout]     src/lib.rs - AdafruitNXP<I2C>::set_sensor_mode (line 843)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b4015b585fa811f453d558affaf4b20f68e3b1beeb7ab8e7289f67e664467b5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4015b585fa811f453d558affaf4b20f68e3b1beeb7ab8e7289f67e664467b5a", kill_on_drop: false }`
[INFO] [stdout] b4015b585fa811f453d558affaf4b20f68e3b1beeb7ab8e7289f67e664467b5a
