[INFO] fetching crate ldc3114 0.2.0...
[INFO] testing ldc3114-0.2.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate ldc3114 0.2.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ldc3114 0.2.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 205fac1f79f78658293ba2171a18662f8d28db66e3b48d96806aa5658409bdbf
[INFO] running `Command { std: "docker" "start" "-a" "205fac1f79f78658293ba2171a18662f8d28db66e3b48d96806aa5658409bdbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "205fac1f79f78658293ba2171a18662f8d28db66e3b48d96806aa5658409bdbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "205fac1f79f78658293ba2171a18662f8d28db66e3b48d96806aa5658409bdbf", kill_on_drop: false }`
[INFO] [stdout] 205fac1f79f78658293ba2171a18662f8d28db66e3b48d96806aa5658409bdbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 027a87b698d2857973a7816e75909354b2315efb39e82df53165a0055dff55e9
[INFO] running `Command { std: "docker" "start" "-a" "027a87b698d2857973a7816e75909354b2315efb39e82df53165a0055dff55e9", 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.39s
[INFO] running `Command { std: "docker" "inspect" "027a87b698d2857973a7816e75909354b2315efb39e82df53165a0055dff55e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "027a87b698d2857973a7816e75909354b2315efb39e82df53165a0055dff55e9", kill_on_drop: false }`
[INFO] [stdout] 027a87b698d2857973a7816e75909354b2315efb39e82df53165a0055dff55e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08626ecd3cde63696a392994935812d7c1e88447a46f01281bc1c4a8980a0b0d
[INFO] running `Command { std: "docker" "start" "-a" "08626ecd3cde63696a392994935812d7c1e88447a46f01281bc1c4a8980a0b0d", 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.32s
[INFO] running `Command { std: "docker" "inspect" "08626ecd3cde63696a392994935812d7c1e88447a46f01281bc1c4a8980a0b0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08626ecd3cde63696a392994935812d7c1e88447a46f01281bc1c4a8980a0b0d", kill_on_drop: false }`
[INFO] [stdout] 08626ecd3cde63696a392994935812d7c1e88447a46f01281bc1c4a8980a0b0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2602ec72d8a1a83443d69744c6d3571c6d65d5409933a401794c889fb33172a5
[INFO] running `Command { std: "docker" "start" "-a" "2602ec72d8a1a83443d69744c6d3571c6d65d5409933a401794c889fb33172a5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ldc3114-cfa7cb515f92f29a)
[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 60) ... FAILED
[INFO] [stdout] test src/sync.rs - sync::Ldc3114<I2C>::read_raw_data (line 124) ... 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] test src/../README.md - (line 51) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_60_0() {
[INFO] [stdout]   |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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 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] 3 | 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] 3 | 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] 3 | 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] 2 | 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] 3 | 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 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] 3 | 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] 2 + 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] 3 | 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] 17 | 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] 2  + 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] 18 | 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] 2  + 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] 35 |     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] 2  + 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] 36 |     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] 2  + 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] 37 |     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] 2  + 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] 38 |     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] 2  + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | 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] 2  | 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 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 29 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     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] 2  | 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 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 36 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 37 |     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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_8_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 38 |     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] 13 |     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] 29 |     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] 3 | 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] 3 | let W = 128 * (1 + SENCY_n) * (2^LCDIV)
[INFO] [stdout]   | +++
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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] 3 | 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] 3 | 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/../README.md - (line 51) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `DeviceConfig` in this scope
[INFO] [stdout]  --> src/../README.md:52:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 2 + 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] 3 | 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] 2 + 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] 4 |     scan_rate: ScanRate::Highest,
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `ScanRate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     ..DeviceConfig::const_default()
[INFO] [stdout]   |       ^^^^^^^^^^^^ use of undeclared type `DeviceConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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: E0412, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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.25s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2602ec72d8a1a83443d69744c6d3571c6d65d5409933a401794c889fb33172a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2602ec72d8a1a83443d69744c6d3571c6d65d5409933a401794c889fb33172a5", kill_on_drop: false }`
[INFO] [stdout] 2602ec72d8a1a83443d69744c6d3571c6d65d5409933a401794c889fb33172a5
