[INFO] fetching crate ldc3114 0.2.0...
[INFO] testing ldc3114-0.2.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate ldc3114 0.2.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ldc3114 0.2.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b2ca5823e7f468e8991c10a366d0df40b151cda4827c58c4afd69089b36de1f
[INFO] running `Command { std: "docker" "start" "-a" "8b2ca5823e7f468e8991c10a366d0df40b151cda4827c58c4afd69089b36de1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b2ca5823e7f468e8991c10a366d0df40b151cda4827c58c4afd69089b36de1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b2ca5823e7f468e8991c10a366d0df40b151cda4827c58c4afd69089b36de1f", kill_on_drop: false }`
[INFO] [stdout] 8b2ca5823e7f468e8991c10a366d0df40b151cda4827c58c4afd69089b36de1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c55a0de45519aebe1553f83eb9edf35dea6489f446a848c48435dfb6ccc2bdb3
[INFO] running `Command { std: "docker" "start" "-a" "c55a0de45519aebe1553f83eb9edf35dea6489f446a848c48435dfb6ccc2bdb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling ldc3114 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "c55a0de45519aebe1553f83eb9edf35dea6489f446a848c48435dfb6ccc2bdb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c55a0de45519aebe1553f83eb9edf35dea6489f446a848c48435dfb6ccc2bdb3", kill_on_drop: false }`
[INFO] [stdout] c55a0de45519aebe1553f83eb9edf35dea6489f446a848c48435dfb6ccc2bdb3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73952eefc40b4e2f3e91cfb7e538007d3d9d960cb29d67fc09f9407b8f361356
[INFO] running `Command { std: "docker" "start" "-a" "73952eefc40b4e2f3e91cfb7e538007d3d9d960cb29d67fc09f9407b8f361356", 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.44s
[INFO] running `Command { std: "docker" "inspect" "73952eefc40b4e2f3e91cfb7e538007d3d9d960cb29d67fc09f9407b8f361356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73952eefc40b4e2f3e91cfb7e538007d3d9d960cb29d67fc09f9407b8f361356", kill_on_drop: false }`
[INFO] [stdout] 73952eefc40b4e2f3e91cfb7e538007d3d9d960cb29d67fc09f9407b8f361356
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e5f39a5497ff706efa20f54cf3749de3a326abd408b698df102318acb134b36b
[INFO] running `Command { std: "docker" "start" "-a" "e5f39a5497ff706efa20f54cf3749de3a326abd408b698df102318acb134b36b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[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/../README.md - (line 51) ... FAILED
[INFO] [stdout] test src/../README.md - (line 8) ... FAILED
[INFO] [stdout] test src/../README.md - (line 60) ... FAILED
[INFO] [stdout] test src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 128) ... FAILED
[INFO] [stdout] test src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 124) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 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/../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/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] ---- 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] 
[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.30s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.42s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e5f39a5497ff706efa20f54cf3749de3a326abd408b698df102318acb134b36b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5f39a5497ff706efa20f54cf3749de3a326abd408b698df102318acb134b36b", kill_on_drop: false }`
[INFO] [stdout] e5f39a5497ff706efa20f54cf3749de3a326abd408b698df102318acb134b36b
