[INFO] fetching crate embedded-c-sdk-bind-hal 0.11.0... [INFO] testing embedded-c-sdk-bind-hal-0.11.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate embedded-c-sdk-bind-hal 0.11.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate embedded-c-sdk-bind-hal 0.11.0 [INFO] finished tweaking crates.io crate embedded-c-sdk-bind-hal 0.11.0 [INFO] tweaked toml for crates.io crate embedded-c-sdk-bind-hal 0.11.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-c-sdk-bind-hal 0.11.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate embedded-c-sdk-bind-hal 0.11.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded embedded-c-sdk-bind-print-macros v0.1.2 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded litrs v0.4.1 [INFO] [stderr] Downloaded embassy-sync v0.7.2 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded embassy-hal-internal v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.86 [INFO] [stderr] Downloaded paste v1.0.15 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded num-traits v0.2.19 [INFO] [stderr] Downloaded document-features v0.2.10 [INFO] [stderr] Downloaded embassy-time-driver v0.2.1 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded embassy-executor-timer-queue v0.1.0 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded embedded-io-async v0.6.1 [INFO] [stderr] Downloaded embedded-hal-async v1.0.0 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded embassy-time-queue-utils v0.3.0 [INFO] [stderr] Downloaded quote v1.0.37 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c55b92ff19ea27adf1897f91b2a0af0a070469e6b8b2c0842ca014f63f684ca7 [INFO] running `Command { std: "docker" "start" "-a" "c55b92ff19ea27adf1897f91b2a0af0a070469e6b8b2c0842ca014f63f684ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c55b92ff19ea27adf1897f91b2a0af0a070469e6b8b2c0842ca014f63f684ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55b92ff19ea27adf1897f91b2a0af0a070469e6b8b2c0842ca014f63f684ca7", kill_on_drop: false }` [INFO] [stdout] c55b92ff19ea27adf1897f91b2a0af0a070469e6b8b2c0842ca014f63f684ca7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c7b493cfe8277d8cdeffde93280b35fedf4a90d3380db1268a51b05350a496 [INFO] running `Command { std: "docker" "start" "-a" "60c7b493cfe8277d8cdeffde93280b35fedf4a90d3380db1268a51b05350a496", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling embassy-hal-internal v0.3.0 [INFO] [stderr] Compiling embassy-sync v0.7.2 [INFO] [stderr] Compiling embassy-time-queue-utils v0.3.0 [INFO] [stderr] Compiling embassy-time-driver v0.2.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling embassy-executor-timer-queue v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling embedded-c-sdk-bind-print-macros v0.1.2 [INFO] [stderr] Compiling embedded-c-sdk-bind-hal v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "60c7b493cfe8277d8cdeffde93280b35fedf4a90d3380db1268a51b05350a496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c7b493cfe8277d8cdeffde93280b35fedf4a90d3380db1268a51b05350a496", kill_on_drop: false }` [INFO] [stdout] 60c7b493cfe8277d8cdeffde93280b35fedf4a90d3380db1268a51b05350a496 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 009508c5d285983a5ee7d90033aa69d7f1a45528fdbfe6347b36e759d14e5694 [INFO] running `Command { std: "docker" "start" "-a" "009508c5d285983a5ee7d90033aa69d7f1a45528fdbfe6347b36e759d14e5694", kill_on_drop: false }` [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-c-sdk-bind-hal v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "009508c5d285983a5ee7d90033aa69d7f1a45528fdbfe6347b36e759d14e5694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009508c5d285983a5ee7d90033aa69d7f1a45528fdbfe6347b36e759d14e5694", kill_on_drop: false }` [INFO] [stdout] 009508c5d285983a5ee7d90033aa69d7f1a45528fdbfe6347b36e759d14e5694 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73ab1ab070080785fff17186f7f9832f8da275f427f3bb4711da1ad1d7db7f36 [INFO] running `Command { std: "docker" "start" "-a" "73ab1ab070080785fff17186f7f9832f8da275f427f3bb4711da1ad1d7db7f36", kill_on_drop: false }` [INFO] [stderr] warning: `#[inline]` is ignored on externally exported functions [INFO] [stderr] --> src/gpio/exti.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on externally exported functions [INFO] [stderr] --> src/tick.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stderr] [INFO] [stderr] warning: `embedded-c-sdk-bind-hal` (lib) generated 2 warnings [INFO] [stderr] warning: `embedded-c-sdk-bind-hal` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_c_sdk_bind_hal-47a06e943c3573ca) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test common::atomic_ring_buffer::tests::push_pop ... ok [INFO] [stdout] test common::atomic_ring_buffer::tests::zero_len ... ok [INFO] [stdout] test common::atomic_ring_buffer::tests::push_slices ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests embedded_c_sdk_bind_hal [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/tick.rs - tick::Delay::delay_ms (line 196) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay::new (line 171) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Tick::elapsed (line 90) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Tick::now (line 68) ... FAILED [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_write (line 82) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay::delay_ns (line 184) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay (line 160) ... FAILED [INFO] [stdout] test src/lib.rs - setInterval (line 49) ... FAILED [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_write_read (line 42) ... FAILED [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_read (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - setInterval (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tick.rs - tick::Delay::delay_ms (line 196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:197: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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Delay::new (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:172: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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Tick::elapsed (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tick` [INFO] [stdout] --> src/tick.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 3 | let start_tick = Tick::now(); [INFO] [stdout] | ^^^^ use of undeclared type `Tick` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Tick; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Tick::now (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tick` [INFO] [stdout] --> src/tick.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 3 | let current_tick = Tick::now(); [INFO] [stdout] | ^^^^ use of undeclared type `Tick` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Tick; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/i2c.rs - i2c::I2C::blocking_write (line 82) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 3 | i2c.blocking_write(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01])?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 3 | i2c.blocking_write(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01])?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/tick.rs - tick::Delay::delay_ns (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:185: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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Delay (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut delay = Delay::new(); // Create a delay object for a 1000 Hz tick frequency. [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - setInterval (line 49) stdout ---- [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 4 | setInterval!(my_function_with_params, 1000, arg1, arg2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 3 | setInterval!(my_function, 1000); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/i2c.rs - i2c::I2C::blocking_write_read (line 42) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_write_read(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01], &mut buffer)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_write_read(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01], &mut buffer)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/i2c.rs - i2c::I2C::blocking_read (line 112) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_read(I2CAddr::SevenBitAddress(0x48), &mut buffer)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_read(I2CAddr::SevenBitAddress(0x48), &mut buffer)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - setInterval (line 43) stdout ---- [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 4 | setInterval!(function, period_ms, param1, param2, ...); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 3 | setInterval!(function, period_ms); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_read (line 112) [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_write (line 82) [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_write_read (line 42) [INFO] [stdout] src/lib.rs - setInterval (line 43) [INFO] [stdout] src/lib.rs - setInterval (line 49) [INFO] [stdout] src/tick.rs - tick::Delay (line 160) [INFO] [stdout] src/tick.rs - tick::Delay::delay_ms (line 196) [INFO] [stdout] src/tick.rs - tick::Delay::delay_ns (line 184) [INFO] [stdout] src/tick.rs - tick::Delay::new (line 171) [INFO] [stdout] src/tick.rs - tick::Tick::elapsed (line 90) [INFO] [stdout] src/tick.rs - tick::Tick::now (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "73ab1ab070080785fff17186f7f9832f8da275f427f3bb4711da1ad1d7db7f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ab1ab070080785fff17186f7f9832f8da275f427f3bb4711da1ad1d7db7f36", kill_on_drop: false }` [INFO] [stdout] 73ab1ab070080785fff17186f7f9832f8da275f427f3bb4711da1ad1d7db7f36