[INFO] fetching crate ldc3114 0.2.0...
[INFO] testing ldc3114-0.2.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate ldc3114 0.2.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate ldc3114 0.2.0
[INFO] finished tweaking crates.io crate ldc3114 0.2.0
[INFO] tweaked toml for crates.io crate ldc3114 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ldc3114 0.2.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ldc3114 0.2.0 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0ba7ed374610500fe8a5eb5d1b0cfe333e467076f89003debc08970c8df5a55
[INFO] running `Command { std: "docker" "start" "-a" "a0ba7ed374610500fe8a5eb5d1b0cfe333e467076f89003debc08970c8df5a55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0ba7ed374610500fe8a5eb5d1b0cfe333e467076f89003debc08970c8df5a55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0ba7ed374610500fe8a5eb5d1b0cfe333e467076f89003debc08970c8df5a55", kill_on_drop: false }`
[INFO] [stdout] a0ba7ed374610500fe8a5eb5d1b0cfe333e467076f89003debc08970c8df5a55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d01df171f87446fe23fa7729d6eb69dcb2fdbc362a166de38db755efaa409ec
[INFO] running `Command { std: "docker" "start" "-a" "1d01df171f87446fe23fa7729d6eb69dcb2fdbc362a166de38db755efaa409ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling ldc3114 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "1d01df171f87446fe23fa7729d6eb69dcb2fdbc362a166de38db755efaa409ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d01df171f87446fe23fa7729d6eb69dcb2fdbc362a166de38db755efaa409ec", kill_on_drop: false }`
[INFO] [stdout] 1d01df171f87446fe23fa7729d6eb69dcb2fdbc362a166de38db755efaa409ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fef938b86449c6dc423b9c0b55a215cd8d40c5bc82f0493e4d87e818def0560f
[INFO] running `Command { std: "docker" "start" "-a" "fef938b86449c6dc423b9c0b55a215cd8d40c5bc82f0493e4d87e818def0560f", kill_on_drop: false }`
[INFO] [stderr]    Compiling ldc3114 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "fef938b86449c6dc423b9c0b55a215cd8d40c5bc82f0493e4d87e818def0560f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fef938b86449c6dc423b9c0b55a215cd8d40c5bc82f0493e4d87e818def0560f", kill_on_drop: false }`
[INFO] [stdout] fef938b86449c6dc423b9c0b55a215cd8d40c5bc82f0493e4d87e818def0560f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cf6e91f3673c3f14526a95148d8d92c6c9092be26edd6e1a04d1411d7d026e45
[INFO] running `Command { std: "docker" "start" "-a" "cf6e91f3673c3f14526a95148d8d92c6c9092be26edd6e1a04d1411d7d026e45", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ldc3114-183a841209d81cf6)
[INFO] [stdout] 
[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] [stderr]    Doc-tests ldc3114
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 124) ... FAILED
[INFO] [stdout] test src/../README.md - (line 51) ... FAILED
[INFO] [stdout] test src/../README.md - (line 60) ... FAILED
[INFO] [stdout] test src/../README.md - (line 8) ... FAILED
[INFO] [stdout] test src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 128) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 124) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `f_sensor` in this scope
[INFO] [stdout]    --> src/sync.rs:125:1
[INFO] [stdout]     |
[INFO] [stdout] 125 | f_sensor = 30 * W * 44_000_000 / raw_data
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 125 | let f_sensor = 30 * W * 44_000_000 / raw_data
[INFO] [stdout]     | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `W` in this scope
[INFO] [stdout]    --> src/sync.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 | f_sensor = 30 * W * 44_000_000 / raw_data
[INFO] [stdout]     |                 ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_rs_124_0<const W: /* Type */>() {
[INFO] [stdout]     |                                                                        +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_data` in this scope
[INFO] [stdout]    --> src/sync.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 | f_sensor = 30 * W * 44_000_000 / raw_data
[INFO] [stdout]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/../README.md - (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `DeviceConfig` in this scope
[INFO] [stdout]   --> src/../README.md:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LDC3114_CONFIG: DeviceConfig = DeviceConfig {
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 51 + use ldc3114::DeviceConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeviceConfig` in this scope
[INFO] [stdout]   --> src/../README.md:52:38
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LDC3114_CONFIG: DeviceConfig = DeviceConfig {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 51 + use ldc3114::DeviceConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScanRate`
[INFO] [stdout]   --> src/../README.md:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |     scan_rate: ScanRate::Highest,
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ScanRate`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 51 + use ldc3114::ScanRate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceConfig`
[INFO] [stdout]   --> src/../README.md:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ..DeviceConfig::const_default()
[INFO] [stdout]    |       ^^^^^^^^^^^^ use of undeclared type `DeviceConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 51 + use ldc3114::DeviceConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 60) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `inductance_sensor` in this scope
[INFO] [stdout]   --> src/../README.md:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | inductance_sensor.set_device_configuration(&LDC3114_CONFIG).await.unwrap();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LDC3114_CONFIG` in this scope
[INFO] [stdout]   --> src/../README.md:61:45
[INFO] [stdout]    |
[INFO] [stdout] 61 | inductance_sensor.set_device_configuration(&LDC3114_CONFIG).await.unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:61:61
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_60_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] 61 | inductance_sensor.set_device_configuration(&LDC3114_CONFIG).await.unwrap();
[INFO] [stdout]    |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ldc3114`
[INFO] [stdout]  --> src/../README.md:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut inductance_sensor = Ldc3114::new(inductance_sensor_i2c);
[INFO] [stdout]   |                             ^^^^^^^ use of undeclared type `Ldc3114`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 8 + use ldc3114::Ldc3114;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `inductance_sensor_i2c` in this scope
[INFO] [stdout]  --> src/../README.md:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut inductance_sensor = Ldc3114::new(inductance_sensor_i2c);
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScanRate`
[INFO] [stdout]   --> src/../README.md:23:40
[INFO] [stdout]    |
[INFO] [stdout] 23 | inductance_sensor.set_normal_scan_rate(ScanRate::Lowest).await.unwrap();
[INFO] [stdout]    |                                        ^^^^^^^^ use of undeclared type `ScanRate`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::ScanRate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LowPowerScanRate`
[INFO] [stdout]   --> src/../README.md:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | inductance_sensor.set_low_power_scan_rate(LowPowerScanRate::Low).await.unwrap();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^ use of undeclared type `LowPowerScanRate`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::LowPowerScanRate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Channel0` in this scope
[INFO] [stdout]   --> src/../README.md:41:47
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let ch0 = inductance_sensor.read_raw_data(Channel0).await.unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::Channel0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Channel1` in this scope
[INFO] [stdout]   --> src/../README.md:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let ch1 = inductance_sensor.read_raw_data(Channel1).await.unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::Channel1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Channel2` in this scope
[INFO] [stdout]   --> src/../README.md:43:47
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let ch2 = inductance_sensor.read_raw_data(Channel2).await.unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::Channel2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Channel3` in this scope
[INFO] [stdout]   --> src/../README.md:44:47
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let ch3 = inductance_sensor.read_raw_data(Channel3).await.unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use ldc3114::Channel3;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:12:33
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | inductance_sensor.config_mode().await.unwrap();
[INFO] [stdout]    |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:16:46
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     if inductance_sensor.is_ready_to_write().await.unwrap() {
[INFO] [stdout]    |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:19:28
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Timer::after_millis(5).await;
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:23:58
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 | inductance_sensor.set_normal_scan_rate(ScanRate::Lowest).await.unwrap();
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:24:66
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 24 | inductance_sensor.set_low_power_scan_rate(LowPowerScanRate::Low).await.unwrap();
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:25:66
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 25 | inductance_sensor.enable_button_press_detection_algorithm(false).await.unwrap();
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:28:33
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 28 | inductance_sensor.normal_mode().await.unwrap();
[INFO] [stdout]    |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:32:42
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 32 |     if inductance_sensor.is_chip_ready().await.unwrap() {
[INFO] [stdout]    |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:35:28
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     Timer::after_millis(5).await;
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:40:45
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     let _ = inductance_sensor.read_status().await.unwrap();
[INFO] [stdout]    |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:41:57
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 41 |     let ch0 = inductance_sensor.read_raw_data(Channel0).await.unwrap();
[INFO] [stdout]    |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:42:57
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     let ch1 = inductance_sensor.read_raw_data(Channel1).await.unwrap();
[INFO] [stdout]    |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:43:57
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     let ch2 = inductance_sensor.read_raw_data(Channel2).await.unwrap();
[INFO] [stdout]    |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:44:57
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     let ch3 = inductance_sensor.read_raw_data(Channel3).await.unwrap();
[INFO] [stdout]    |                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer`
[INFO] [stdout]   --> src/../README.md:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Timer::after_millis(5).await;
[INFO] [stdout]    |     ^^^^^ use of undeclared type `Timer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer`
[INFO] [stdout]   --> src/../README.md:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Timer::after_millis(5).await;
[INFO] [stdout]    |     ^^^^^ use of undeclared type `Timer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 128) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `W` in this scope
[INFO] [stdout]    --> src/sync.rs:129:1
[INFO] [stdout]     |
[INFO] [stdout] 129 | W = 128 * (1 + SENCY_n) * (2^LCDIV)
[INFO] [stdout]     | ^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]     |
[INFO] [stdout] 129 | let W = 128 * (1 + SENCY_n) * (2^LCDIV)
[INFO] [stdout]     | +++
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_rs_128_0<const W: /* Type */>() {
[INFO] [stdout]     |                                                                        +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SENCY_n` in this scope
[INFO] [stdout]    --> src/sync.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 129 | W = 128 * (1 + SENCY_n) * (2^LCDIV)
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LCDIV` in this scope
[INFO] [stdout]    --> src/sync.rs:129:30
[INFO] [stdout]     |
[INFO] [stdout] 129 | W = 128 * (1 + SENCY_n) * (2^LCDIV)
[INFO] [stdout]     |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 51)
[INFO] [stdout]     src/../README.md - (line 60)
[INFO] [stdout]     src/../README.md - (line 8)
[INFO] [stdout]     src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 124)
[INFO] [stdout]     src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 128)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.54s; merged doctests compilation took 0.37s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cf6e91f3673c3f14526a95148d8d92c6c9092be26edd6e1a04d1411d7d026e45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf6e91f3673c3f14526a95148d8d92c6c9092be26edd6e1a04d1411d7d026e45", kill_on_drop: false }`
[INFO] [stdout] cf6e91f3673c3f14526a95148d8d92c6c9092be26edd6e1a04d1411d7d026e45
